Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
50811b56
Commit
50811b56
authored
Feb 04, 2022
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Don't trace both the This and iface pointers.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8729840f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
15 deletions
+14
-15
collection.c
dlls/dmusic/collection.c
+2
-2
port.c
dlls/dmusic/port.c
+12
-13
No files found.
dlls/dmusic/collection.c
View file @
50811b56
...
...
@@ -60,7 +60,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_QueryInterface(IDirectMusicColl
{
IDirectMusicCollectionImpl
*
This
=
impl_from_IDirectMusicCollection
(
iface
);
TRACE
(
"(%p
/%p)->(%s, %p)
\n
"
,
iface
,
This
,
debugstr_dmguid
(
riid
),
ret_iface
);
TRACE
(
"(%p
, %s, %p)
\n
"
,
iface
,
debugstr_dmguid
(
riid
),
ret_iface
);
*
ret_iface
=
NULL
;
...
...
@@ -72,7 +72,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_QueryInterface(IDirectMusicColl
*
ret_iface
=
&
This
->
dmobj
.
IPersistStream_iface
;
else
{
WARN
(
"(%p
/%p)->(%s, %p): not found
\n
"
,
iface
,
This
,
debugstr_dmguid
(
riid
),
ret_iface
);
WARN
(
"(%p
, %s, %p): not found
\n
"
,
iface
,
debugstr_dmguid
(
riid
),
ret_iface
);
return
E_NOINTERFACE
;
}
...
...
dlls/dmusic/port.c
View file @
50811b56
...
...
@@ -151,7 +151,7 @@ static HRESULT WINAPI synth_port_QueryInterface(IDirectMusicPort *iface, REFIID
{
struct
synth_port
*
This
=
synth_from_IDirectMusicPort
(
iface
);
TRACE
(
"(%p
/%p)->(%s, %p)
\n
"
,
iface
,
This
,
debugstr_dmguid
(
riid
),
ret_iface
);
TRACE
(
"(%p
, %s, %p)
\n
"
,
iface
,
debugstr_dmguid
(
riid
),
ret_iface
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectMusicPort
))
*
ret_iface
=
&
This
->
IDirectMusicPort_iface
;
...
...
@@ -218,7 +218,7 @@ static HRESULT WINAPI synth_port_PlayBuffer(IDirectMusicPort *iface, IDirectMusi
LPBYTE
data
;
DWORD
size
;
TRACE
(
"(%p
/%p)->(%p)
\n
"
,
iface
,
This
,
buffer
);
TRACE
(
"(%p
, %p)
\n
"
,
iface
,
buffer
);
if
(
!
buffer
)
return
E_POINTER
;
...
...
@@ -339,10 +339,9 @@ static HRESULT WINAPI synth_port_DownloadInstrument(IDirectMusicPort *iface, IDi
static
HRESULT
WINAPI
synth_port_UnloadInstrument
(
IDirectMusicPort
*
iface
,
IDirectMusicDownloadedInstrument
*
downloaded_instrument
)
{
struct
synth_port
*
This
=
synth_from_IDirectMusicPort
(
iface
);
IDirectMusicDownloadedInstrumentImpl
*
downloaded_object
=
unsafe_impl_from_IDirectMusicDownloadedInstrument
(
downloaded_instrument
);
TRACE
(
"(%p
/%p)->(%p)
\n
"
,
iface
,
This
,
downloaded_instrument
);
TRACE
(
"(%p
, %p)
\n
"
,
iface
,
downloaded_instrument
);
if
(
!
downloaded_instrument
)
return
E_POINTER
;
...
...
@@ -361,7 +360,7 @@ static HRESULT WINAPI synth_port_GetLatencyClock(IDirectMusicPort *iface, IRefer
{
struct
synth_port
*
This
=
synth_from_IDirectMusicPort
(
iface
);
TRACE
(
"(%p
/%p)->(%p)
\n
"
,
iface
,
This
,
clock
);
TRACE
(
"(%p
, %p)
\n
"
,
iface
,
clock
);
return
IDirectMusicSynth8_GetLatencyClock
(
This
->
synth
,
clock
);
}
...
...
@@ -385,7 +384,7 @@ static HRESULT WINAPI synth_port_GetCaps(IDirectMusicPort *iface, DMUS_PORTCAPS
{
struct
synth_port
*
This
=
synth_from_IDirectMusicPort
(
iface
);
TRACE
(
"(%p
/%p)->(%p)
\n
"
,
iface
,
This
,
port_caps
);
TRACE
(
"(%p
, %p)
\n
"
,
iface
,
port_caps
);
return
IDirectMusicSynth_GetPortCaps
(
This
->
synth
,
port_caps
);
}
...
...
@@ -416,7 +415,7 @@ static HRESULT WINAPI synth_port_GetNumChannelGroups(IDirectMusicPort *iface, DW
{
struct
synth_port
*
This
=
synth_from_IDirectMusicPort
(
iface
);
TRACE
(
"(%p
/%p)->(%p)
\n
"
,
iface
,
This
,
channel_groups
);
TRACE
(
"(%p
, %p)
\n
"
,
iface
,
channel_groups
);
*
channel_groups
=
This
->
nrofgroups
;
...
...
@@ -586,7 +585,7 @@ static HRESULT WINAPI synth_port_download_QueryInterface(IDirectMusicPortDownloa
{
struct
synth_port
*
This
=
synth_from_IDirectMusicPortDownload
(
iface
);
TRACE
(
"(%p
/%p)->(%s, %p)
\n
"
,
iface
,
This
,
debugstr_dmguid
(
riid
),
ret_iface
);
TRACE
(
"(%p
, %s, %p)
\n
"
,
iface
,
debugstr_dmguid
(
riid
),
ret_iface
);
return
IDirectMusicPort_QueryInterface
(
&
This
->
IDirectMusicPort_iface
,
riid
,
ret_iface
);
}
...
...
@@ -595,7 +594,7 @@ static ULONG WINAPI synth_port_download_AddRef(IDirectMusicPortDownload *iface)
{
struct
synth_port
*
This
=
synth_from_IDirectMusicPortDownload
(
iface
);
TRACE
(
"(%p
/%p)->()
\n
"
,
iface
,
This
);
TRACE
(
"(%p
)
\n
"
,
iface
);
return
IDirectMusicPort_AddRef
(
&
This
->
IDirectMusicPort_iface
);
}
...
...
@@ -604,7 +603,7 @@ static ULONG WINAPI synth_port_download_Release(IDirectMusicPortDownload *iface)
{
struct
synth_port
*
This
=
synth_from_IDirectMusicPortDownload
(
iface
);
TRACE
(
"(%p
/%p)->()
\n
"
,
iface
,
This
);
TRACE
(
"(%p
)
\n
"
,
iface
);
return
IDirectMusicPort_Release
(
&
This
->
IDirectMusicPort_iface
);
}
...
...
@@ -686,7 +685,7 @@ static HRESULT WINAPI synth_port_thru_QueryInterface(IDirectMusicThru *iface, RE
{
struct
synth_port
*
This
=
synth_from_IDirectMusicThru
(
iface
);
TRACE
(
"(%p
/%p)->(%s, %p)
\n
"
,
iface
,
This
,
debugstr_dmguid
(
riid
),
ret_iface
);
TRACE
(
"(%p
, %s, %p)
\n
"
,
iface
,
debugstr_dmguid
(
riid
),
ret_iface
);
return
IDirectMusicPort_QueryInterface
(
&
This
->
IDirectMusicPort_iface
,
riid
,
ret_iface
);
}
...
...
@@ -695,7 +694,7 @@ static ULONG WINAPI synth_port_thru_AddRef(IDirectMusicThru *iface)
{
struct
synth_port
*
This
=
synth_from_IDirectMusicThru
(
iface
);
TRACE
(
"(%p
/%p)->()
\n
"
,
iface
,
This
);
TRACE
(
"(%p
)
\n
"
,
iface
);
return
IDirectMusicPort_AddRef
(
&
This
->
IDirectMusicPort_iface
);
}
...
...
@@ -704,7 +703,7 @@ static ULONG WINAPI synth_port_thru_Release(IDirectMusicThru *iface)
{
struct
synth_port
*
This
=
synth_from_IDirectMusicThru
(
iface
);
TRACE
(
"(%p
/%p)->()
\n
"
,
iface
,
This
);
TRACE
(
"(%p
)
\n
"
,
iface
);
return
IDirectMusicPort_Release
(
&
This
->
IDirectMusicPort_iface
);
}
...
...
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