Zebediah Figura : quartz/dsoundrender: Remove the unused "in_loop" field.
Alexandre Julliard
julliard at winehq.org
Tue Dec 1 15:40:33 CST 2020
Module: wine
Branch: master
Commit: 3933ceca582ecc84f6bb92eb397a8eb8a0d1834a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3933ceca582ecc84f6bb92eb397a8eb8a0d1834a
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Mon Nov 30 23:51:32 2020 -0600
quartz/dsoundrender: Remove the unused "in_loop" field.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/quartz/dsoundrender.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index 1c6b28512b0..788643af372 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -63,7 +63,6 @@ struct dsound_render
IDirectSound8 *dsound;
LPDIRECTSOUNDBUFFER dsbuffer;
DWORD buf_size;
- DWORD in_loop;
DWORD last_playpos, writepos;
REFERENCE_TIME play_time;
@@ -237,11 +236,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;
@@ -262,11 +259,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)
More information about the wine-cvs
mailing list