From 8325deaa33e13fad57972cfdfa3443053220f995 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 11 Jan 2003 20:53:43 +0000 Subject: [PATCH] Fix latent deadlock in DSOUND_callback. --- dlls/dsound/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index e04ccb386fb..e187fb8f5ac 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c @@ -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");