Mix all pending periods at once instead of one at a time

This commit is contained in:
Chris Robinson
2009-09-20 00:44:39 -07:00
parent 750399ccd7
commit 86eefdb2a8
+1 -1
View File
@@ -203,7 +203,7 @@ static ALuint ALSAProc(ALvoid *ptr)
AL_PRINT("Wait timeout... buffer size too low?\n");
continue;
}
avail = pDevice->UpdateSize;
avail -= avail%pDevice->UpdateSize;
// it is possible that contiguous areas are smaller, thus we use a loop
while(avail > 0)