Commit 8325deaa authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Fix latent deadlock in DSOUND_callback.

parent 65351034
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment