Rémi Bernon : dmusic: Set synth sink master clock when creating port.
Module: wine Branch: master Commit: f00d8639e6f34f81d0acd16a8a0e6f05f210fda8 URL: https://gitlab.winehq.org/wine/wine/-/commit/f00d8639e6f34f81d0acd16a8a0e6f0... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Mon Sep 4 16:20:57 2023 +0200 dmusic: Set synth sink master clock when creating port. --- dlls/dmusic/port.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/dmusic/port.c b/dlls/dmusic/port.c index b23a3f5d4dd..28c5c3cff17 100644 --- a/dlls/dmusic/port.c +++ b/dlls/dmusic/port.c @@ -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);
participants (1)
-
Alexandre Julliard