Commit f00d8639 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dmusic: Set synth sink master clock when creating port.

parent d5e156fa
...@@ -715,6 +715,9 @@ HRESULT synth_port_create(IDirectMusic8Impl *parent, DMUS_PORTPARAMS *port_param ...@@ -715,6 +715,9 @@ HRESULT synth_port_create(IDirectMusic8Impl *parent, DMUS_PORTPARAMS *port_param
hr = IDirectMusicSynth_SetMasterClock(obj->synth, obj->parent->master_clock); hr = IDirectMusicSynth_SetMasterClock(obj->synth, obj->parent->master_clock);
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
hr = IDirectMusicSynthSink_SetMasterClock(obj->synth_sink, obj->parent->master_clock);
if (SUCCEEDED(hr))
hr = IDirectMusicSynth_Open(obj->synth, port_params); hr = IDirectMusicSynth_Open(obj->synth, port_params);
if (0) if (0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment