Commit 8ba4090f authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

dsound: Don't exit early in mixer thread.

parent 39d34532
......@@ -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){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment