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:
Michael Stefaniuc 2022-01-21 18:41:08 +01:00 committed by Alexandre Julliard
parent 7192bbce8f
commit ccb216e477
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ HRESULT synth_port_create(IDirectMusic8Impl *parent, DMUS_PORTPARAMS *port_param
hr = IDirectMusicSynth_SetSynthSink(obj->synth, obj->synth_sink);
if (SUCCEEDED(hr))
hr = IDirectMusicSynth_SetMasterClock(obj->synth, obj->pLatencyClock);
hr = IDirectMusicSynth_SetMasterClock(obj->synth, obj->parent->master_clock);
if (SUCCEEDED(hr))
hr = IDirectMusicSynth_Open(obj->synth, port_params);