commit | 8325deaa33e13fad57972cfdfa3443053220f995 | [log] [tgz] |
---|---|---|
author | Francois Gouget <fgouget@codeweavers.com> | Sat Jan 11 20:53:43 2003 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sat Jan 11 20:53:43 2003 +0000 |
tree | 82ec4de1d9a16df57f1e64cdecb27c8ff214c2a6 | |
parent | 653510348a30d465650f82137c86e8ca42812ad4 [diff] [blame] |
Fix latent deadlock in DSOUND_callback.
diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index e04ccb3..e187fb8 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c
@@ -1030,7 +1030,7 @@ /* 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");