Module: wine Branch: master Commit: ccb216e477155dd402b9fbdcef12c73cb78d96ed URL: https://source.winehq.org/git/wine.git/?a=commit;h=ccb216e477155dd402b9fbdce... Author: Michael Stefaniuc <mstefani(a)winehq.org> Date: Fri Jan 21 18:41:08 2022 +0100 dmusic: Send the master clock to the synth and not a latency clock. Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dmusic/port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dmusic/port.c b/dlls/dmusic/port.c index a17e399ee17..fb807e7871a 100644 --- a/dlls/dmusic/port.c +++ b/dlls/dmusic/port.c @@ -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);