diff options
author | Chris Robinson <[email protected]> | 2009-09-20 00:44:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-20 00:44:39 -0700 |
commit | 86eefdb2a8ccc6171d15366dcb6c1a081d7592da (patch) | |
tree | 29ace8b55b14241f59add48ac56a35bff49532ee | |
parent | 750399ccd7409d570712509720d2a8cc845963c1 (diff) |
Mix all pending periods at once instead of one at a time
-rw-r--r-- | Alc/alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |