Module: wine Branch: master Commit: 8ba4090fc3049930acd296b3b90529d7004830c0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ba4090fc3049930acd296b3b9...
Author: Andrew Eikum aeikum@codeweavers.com Date: Wed Oct 10 10:17:10 2012 -0500
dsound: Don't exit early in mixer thread.
---
dlls/dsound/mixer.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index fed9165..264d64d 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){