Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
---
dlls/quartz/dsoundrender.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index a444297f568..c07dec56c09 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -64,7 +64,6 @@ struct dsound_render
IDirectSound8 *dsound;
LPDIRECTSOUNDBUFFER dsbuffer;
DWORD buf_size;
- DWORD in_loop;
DWORD last_playpos, writepos;
REFERENCE_TIME play_time;
@@ -238,11 +237,9 @@ static HRESULT DSoundRender_HandleEndOfStream(struct dsound_render *This)
if (pos1 == pos2)
break;
- This->in_loop = 1;
LeaveCriticalSection(&This->stream_cs);
WaitForSingleObject(This->flush_event, 10);
EnterCriticalSection(&This->stream_cs);
- This->in_loop = 0;
}
return S_OK;
@@ -263,11 +260,9 @@ static HRESULT DSoundRender_SendSampleData(struct dsound_render *This,
hr = S_FALSE;
if (hr != S_OK) {
- This->in_loop = 1;
LeaveCriticalSection(&This->stream_cs);
ret = WaitForSingleObject(This->flush_event, 10);
EnterCriticalSection(&This->stream_cs);
- This->in_loop = 0;
if (This->sink.flushing || This->filter.state == State_Stopped)
return This->filter.state == State_Paused ? S_OK : VFW_E_WRONG_STATE;
if (ret != WAIT_TIMEOUT)
--
2.29.2