Rémi Bernon : dmsynth: Allow changing master clock while active.
Module: wine Branch: master Commit: 1b3cc0ce49080b0a9a5b920b6210ce006ec46300 URL: https://gitlab.winehq.org/wine/wine/-/commit/1b3cc0ce49080b0a9a5b920b6210ce0... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Sun Aug 27 16:25:25 2023 +0200 dmsynth: Allow changing master clock while active. --- dlls/dmsynth/synthsink.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/dmsynth/synthsink.c b/dlls/dmsynth/synthsink.c index 6c4f1ebecb6..11edb23db78 100644 --- a/dlls/dmsynth/synthsink.c +++ b/dlls/dmsynth/synthsink.c @@ -122,8 +122,6 @@ static HRESULT WINAPI synth_sink_SetMasterClock(IDirectMusicSynthSink *iface, if (!clock) return E_POINTER; - if (This->active) - return E_FAIL; if (This->master_clock) IReferenceClock_Release(This->master_clock); IReferenceClock_AddRef(clock);
participants (1)
-
Alexandre Julliard