dmusic: Set synth sink master clock when creating port.

This commit is contained in:
Rémi Bernon 2023-09-04 16:20:57 +02:00 committed by Alexandre Julliard
parent d5e156fa7f
commit f00d8639e6

View file

@ -714,6 +714,9 @@ HRESULT synth_port_create(IDirectMusic8Impl *parent, DMUS_PORTPARAMS *port_param
if (SUCCEEDED(hr))
hr = IDirectMusicSynth_SetMasterClock(obj->synth, obj->parent->master_clock);
if (SUCCEEDED(hr))
hr = IDirectMusicSynthSink_SetMasterClock(obj->synth_sink, obj->parent->master_clock);
if (SUCCEEDED(hr))
hr = IDirectMusicSynth_Open(obj->synth, port_params);