Anton Baskanov : quartz/dsoundrender: Don't reset EOS on paused->running state transition.

Alexandre Julliard julliard at winehq.org
Thu May 27 16:02:10 CDT 2021


Module: wine
Branch: master
Commit: a2504b8ec70da37dbe98b6a547502297d31db1a6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a2504b8ec70da37dbe98b6a547502297d31db1a6

Author: Anton Baskanov <baskanov at gmail.com>
Date:   Wed May 26 23:46:44 2021 +0700

quartz/dsoundrender: Don't reset EOS on paused->running state transition.

Signed-off-by: Anton Baskanov <baskanov at gmail.com>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/quartz/dsoundrender.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index 656a5e1f7ab..7c92eb6e6cc 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -605,10 +605,7 @@ static HRESULT dsound_render_start_stream(struct strmbase_filter *iface, REFEREN
     SetEvent(filter->state_event);
 
     if (filter->sink.pin.peer)
-    {
-        filter->eos = FALSE;
         IDirectSoundBuffer_Play(filter->dsbuffer, 0, 0, DSBPLAY_LOOPING);
-    }
 
     return S_OK;
 }




More information about the wine-cvs mailing list