From 8ba4090fc3049930acd296b3b90529d7004830c0 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Wed, 10 Oct 2012 10:17:10 -0500 Subject: [PATCH] dsound: Don't exit early in mixer thread. --- dlls/dsound/mixer.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index fed916507f0..264d64d0f3a 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c @@ -684,12 +684,6 @@ static void DSOUND_PerformMix(DirectSoundDevice *device) to_mix_frags = device->prebuf - (pad * device->pwfx->nBlockAlign + device->fraglen - 1) / device->fraglen; - if(to_mix_frags == 0){ - /* nothing to do! */ - LeaveCriticalSection(&device->mixlock); - return; - } - to_mix_bytes = to_mix_frags * device->fraglen; if(device->in_mmdev_bytes > 0){