dsound: Return primary_done when no mixing needs to be done instead of 0.

This commit is contained in:
Maarten Lankhorst 2007-11-10 20:15:21 +01:00 committed by Alexandre Julliard
parent 8c3f9c8c7e
commit 8de6c8b4a9
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ static DWORD DSOUND_MixOne(IDirectSoundBufferImpl *dsb, DWORD writepos, DWORD mi
TRACE("primary_done=%d, mixlen (primary) = %i\n", primary_done, mixlen);
if (!mixlen)
return 0;
return primary_done;
/* First try to mix to the end of the buffer if possible
* Theoretically it would allow for better optimization