dsound: Don't exit early in mixer thread.

This commit is contained in:
Andrew Eikum 2012-10-10 10:17:10 -05:00 committed by Alexandre Julliard
parent 39d3453209
commit 8ba4090fc3
1 changed files with 0 additions and 6 deletions

View File

@ -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){