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
3292bc29
Commit
3292bc29
authored
Jan 19, 2022
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Drop "synth" from the synth_sink field.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8dae8ad8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
dmsynth_private.h
dlls/dmsynth/dmsynth_private.h
+1
-1
synth.c
dlls/dmsynth/synth.c
+6
-6
No files found.
dlls/dmsynth/dmsynth_private.h
View file @
3292bc29
...
...
@@ -65,7 +65,7 @@ struct IDirectMusicSynth8Impl {
DMUS_PORTCAPS
pCaps
;
BOOL
fActive
;
IReferenceClock
*
pLatencyClock
;
IDirectMusicSynthSink
*
s
ynth_s
ink
;
IDirectMusicSynthSink
*
sink
;
};
/*****************************************************************************
...
...
dlls/dmsynth/synth.c
View file @
3292bc29
...
...
@@ -320,7 +320,7 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_GetLatencyClock(IDirectMusicSynth8
if
(
!
clock
)
return
E_POINTER
;
if
(
!
This
->
s
ynth_s
ink
)
if
(
!
This
->
sink
)
return
DMUS_E_NOSYNTHSINK
;
*
clock
=
This
->
pLatencyClock
;
...
...
@@ -341,16 +341,16 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_Activate(IDirectMusicSynth8 *iface,
}
static
HRESULT
WINAPI
IDirectMusicSynth8Impl_SetSynthSink
(
IDirectMusicSynth8
*
iface
,
IDirectMusicSynthSink
*
s
ynth_s
ink
)
IDirectMusicSynthSink
*
sink
)
{
IDirectMusicSynth8Impl
*
This
=
impl_from_IDirectMusicSynth8
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
iface
,
s
ynth_s
ink
);
TRACE
(
"(%p)->(%p)
\n
"
,
iface
,
sink
);
This
->
s
ynth_sink
=
synth_
sink
;
This
->
s
ink
=
sink
;
if
(
s
ynth_s
ink
)
return
IDirectMusicSynthSink_GetLatencyClock
(
s
ynth_s
ink
,
&
This
->
pLatencyClock
);
if
(
sink
)
return
IDirectMusicSynthSink_GetLatencyClock
(
sink
,
&
This
->
pLatencyClock
);
return
S_OK
;
}
...
...
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