dmusic: Send the master clock to the synth and not a latency clock.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7192bbce8f
commit
ccb216e477
|
@ -857,7 +857,7 @@ HRESULT synth_port_create(IDirectMusic8Impl *parent, DMUS_PORTPARAMS *port_param
|
||||||
hr = IDirectMusicSynth_SetSynthSink(obj->synth, obj->synth_sink);
|
hr = IDirectMusicSynth_SetSynthSink(obj->synth, obj->synth_sink);
|
||||||
|
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
hr = IDirectMusicSynth_SetMasterClock(obj->synth, obj->pLatencyClock);
|
hr = IDirectMusicSynth_SetMasterClock(obj->synth, obj->parent->master_clock);
|
||||||
|
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
hr = IDirectMusicSynth_Open(obj->synth, port_params);
|
hr = IDirectMusicSynth_Open(obj->synth, port_params);
|
||||||
|
|
Loading…
Reference in New Issue