aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2
diff options
context:
space:
mode:
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_win32.c b/libao2/ao_win32.c
index 597e2cc993..32896c4cdf 100644
--- a/libao2/ao_win32.c
+++ b/libao2/ao_win32.c
@@ -59,7 +59,7 @@ static void CALLBACK waveOutProc(HWAVEOUT hWaveOut,UINT uMsg,DWORD dwInstance,
if(uMsg != WOM_DONE)
return;
if(full_buffers==0) return; //no more data buffered!
- buffered_bytes=0; //buffer is empty
+ buffered_bytes-=BUFFER_SIZE;
--full_buffers;
}