Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
916bfc6c
Commit
916bfc6c
authored
Apr 12, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Apr 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmband: Display flag variables in hexadecimal and rename some parameters.
parent
54168bde
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
31 deletions
+45
-31
band.c
dlls/dmband/band.c
+1
-1
bandtrack.c
dlls/dmband/bandtrack.c
+44
-30
No files found.
dlls/dmband/band.c
View file @
916bfc6c
...
...
@@ -406,7 +406,7 @@ static HRESULT IDirectMusicBandImpl_IPersistStream_ParseInstrument (LPPERSISTSTR
TRACE_
(
dmfile
)(
" - dwNoteRanges[2]: %u
\n
"
,
inst
.
dwNoteRanges
[
2
]);
TRACE_
(
dmfile
)(
" - dwNoteRanges[3]: %u
\n
"
,
inst
.
dwNoteRanges
[
3
]);
TRACE_
(
dmfile
)(
" - dwPChannel: %u
\n
"
,
inst
.
dwPChannel
);
TRACE_
(
dmfile
)(
" - dwFlags: %
u
\n
"
,
inst
.
dwFlags
);
TRACE_
(
dmfile
)(
" - dwFlags: %
x
\n
"
,
inst
.
dwFlags
);
TRACE_
(
dmfile
)(
" - bPan: %u
\n
"
,
inst
.
bPan
);
TRACE_
(
dmfile
)(
" - bVolume: %u
\n
"
,
inst
.
bVolume
);
TRACE_
(
dmfile
)(
" - nTranspose: %d
\n
"
,
inst
.
nTranspose
);
...
...
dlls/dmband/bandtrack.c
View file @
916bfc6c
...
...
@@ -103,10 +103,13 @@ static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_Init (LPDIRECTMUSI
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %d, %d): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
segment_state
,
IDirectMusicPerformance
*
performance
,
void
**
state_data
,
DWORD
virtual_track8id
,
DWORD
flags
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %d, %x): stub
\n
"
,
This
,
segment_state
,
performance
,
state_data
,
virtual_track8id
,
flags
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
...
...
@@ -115,18 +118,20 @@ static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_EndPlay (LPDIRECTM
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %d, %d, %d, %d, %p, %p, %d): semi-stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
/* Sends following pMSG:
- DMUS_PATCH_PMSG
- DMUS_TRANSPOSE_PMSG
- DMUS_CHANNEL_PRIORITY_PMSG
- DMUS_MIDI_PMSG
*/
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
state_data
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
flags
,
IDirectMusicPerformance
*
performance
,
IDirectMusicSegmentState
*
segment_state
,
DWORD
virtual_id
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
return
S_OK
;
FIXME
(
"(%p, %p, %d, %d, %d, %x, %p, %p, %d): semi-stub
\n
"
,
This
,
state_data
,
mtStart
,
mtEnd
,
mtOffset
,
flags
,
performance
,
segment_state
,
virtual_id
);
/* Sends following pMSG:
- DMUS_PATCH_PMSG
- DMUS_TRANSPOSE_PMSG
- DMUS_CHANNEL_PRIORITY_PMSG
- DMUS_MIDI_PMSG
*/
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
...
...
@@ -182,25 +187,34 @@ static HRESULT WINAPI IDirectMusicBandTrack_IDirectMusicTrack_Clone (LPDIRECTMUS
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, 0x%s, 0x%s, 0x%s, %d, %p, %p, %d): stub
\n
"
,
This
,
pStateData
,
wine_dbgstr_longlong
(
rtStart
),
wine_dbgstr_longlong
(
rtEnd
),
wine_dbgstr_longlong
(
rtOffset
),
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
state_data
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
flags
,
IDirectMusicPerformance
*
performance
,
IDirectMusicSegmentState
*
segment_state
,
DWORD
virtual_id
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, 0x%s, 0x%s, 0x%s, %x, %p, %p, %d): stub
\n
"
,
This
,
state_data
,
wine_dbgstr_longlong
(
rtStart
),
wine_dbgstr_longlong
(
rtEnd
),
wine_dbgstr_longlong
(
rtOffset
),
flags
,
performance
,
segment_state
,
virtual_id
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
rtNext
,
void
*
param
,
void
*
state_data
,
DWORD
flags
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %x): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
rtNext
,
param
,
state_data
,
flags
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
param
,
void
*
state_data
,
DWORD
flags
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %x): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
param
,
state_data
,
flags
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicBandTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment