aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-02-09 08:47:48 -0800
committerChris Robinson <[email protected]>2015-02-09 08:47:48 -0800
commit8933e21ef21c2084570eb9cb998a47053b686ed1 (patch)
tree5765bae45d1adb3b267f3a942b46fa80ad866c7c /Alc/ALu.c
parent1393af4f9f2bb081b48006b29fed6ec56dc2dbab (diff)
Properly handle a mono output buffer with the MIDI synths
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index cd23057c..2e94ad63 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1219,7 +1219,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
}
V0(device->Backend,lock)();
- V(device->Synth,process)(SamplesToDo, OutBuffer);
+ V(device->Synth,process)(SamplesToDo, OutBuffer, OutChannels);
ctx = ATOMIC_LOAD(&device->ContextList);
while(ctx)