Commit 8de6c8b4 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

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

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