diff options
Diffstat (limited to 'Alc')
-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) |