mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
Fix latent deadlock in DSOUND_callback.
This commit is contained in:
parent
653510348a
commit
8325deaa33
@ -1030,7 +1030,7 @@ void CALLBACK DSOUND_callback(HWAVEOUT hwo, UINT msg, DWORD dwUser, DWORD dw1, D
|
||||
/* queue new buffer if we have data for it */
|
||||
if (inq>1) DSOUND_WaveQueue(This, inq-1);
|
||||
#ifdef SYNC_CALLBACK
|
||||
LeaveCriticalSection(&(This->lock));
|
||||
LeaveCriticalSection(&(This->mixlock));
|
||||
#endif
|
||||
}
|
||||
TRACE("completed\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user