mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
dmusic: Set synth sink master clock when creating port.
This commit is contained in:
parent
d5e156fa7f
commit
f00d8639e6
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue