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
98e6e242
Commit
98e6e242
authored
Jan 20, 2022
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Pass the master clock on to the sink.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7217973c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
synth.c
dlls/dmsynth/synth.c
+5
-2
port.c
dlls/dmusic/port.c
+0
-3
No files found.
dlls/dmsynth/synth.c
View file @
98e6e242
...
@@ -305,9 +305,12 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_SetMasterClock(IDirectMusicSynth8 *
...
@@ -305,9 +305,12 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_SetMasterClock(IDirectMusicSynth8 *
{
{
IDirectMusicSynth8Impl
*
This
=
impl_from_IDirectMusicSynth8
(
iface
);
IDirectMusicSynth8Impl
*
This
=
impl_from_IDirectMusicSynth8
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
clock
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
clock
);
return
S_OK
;
if
(
!
This
->
sink
)
return
DMUS_E_NOSYNTHSINK
;
return
IDirectMusicSynthSink_SetMasterClock
(
This
->
sink
,
clock
);
}
}
static
HRESULT
WINAPI
IDirectMusicSynth8Impl_GetLatencyClock
(
IDirectMusicSynth8
*
iface
,
static
HRESULT
WINAPI
IDirectMusicSynth8Impl_GetLatencyClock
(
IDirectMusicSynth8
*
iface
,
...
...
dlls/dmusic/port.c
View file @
98e6e242
...
@@ -857,9 +857,6 @@ HRESULT synth_port_create(IDirectMusic8Impl *parent, DMUS_PORTPARAMS *port_param
...
@@ -857,9 +857,6 @@ HRESULT synth_port_create(IDirectMusic8Impl *parent, DMUS_PORTPARAMS *port_param
hr
=
IDirectMusicSynth_SetMasterClock
(
obj
->
synth
,
obj
->
pLatencyClock
);
hr
=
IDirectMusicSynth_SetMasterClock
(
obj
->
synth
,
obj
->
pLatencyClock
);
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
hr
=
IDirectMusicSynthSink_SetMasterClock
(
obj
->
synth_sink
,
obj
->
pLatencyClock
);
if
(
SUCCEEDED
(
hr
))
hr
=
IDirectMusicSynth_Open
(
obj
->
synth
,
port_params
);
hr
=
IDirectMusicSynth_Open
(
obj
->
synth
,
port_params
);
if
(
0
)
if
(
0
)
...
...
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