aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-15 18:19:00 -0700
committerChris Robinson <[email protected]>2009-09-15 18:19:00 -0700
commit6636131d3bb52687229881d4d2343b5c464b5c81 (patch)
tree6a7b093f0a9edf563c3736a7c506a227f723b518 /Alc/wave.c
parenteeea9631ce15d1bd239a837331658a2fb951f46f (diff)
Pass the frame count to aluMixData
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index ec4f08ec..bd6c408a 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -75,7 +75,7 @@ static ALuint WaveProc(ALvoid *ptr)
while(avail >= pDevice->UpdateSize)
{
SuspendContext(NULL);
- aluMixData(pDevice->Context, data->buffer, data->size,
+ aluMixData(pDevice->Context, data->buffer, pDevice->UpdateSize,
pDevice->Format);
ProcessContext(NULL);