aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-03-11 06:20:04 -0800
committerChris Robinson <[email protected]>2017-03-11 06:20:04 -0800
commit98e8f941b773df0b591e7c6c6c0e3b5096a9b4f2 (patch)
treed09869e6f5e9f049159d26f0cd43d94c770c937a /Alc/ALu.c
parent6b4b00e4625139157996bcf2161ec8688a4b11e8 (diff)
Allocate as many channels for DirectHrtfState as needed
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 91f90efc..aff87895 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1504,7 +1504,7 @@ void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
{
HrtfMix(device->RealOut.Buffer[lidx], device->RealOut.Buffer[ridx],
device->Dry.Buffer[c], state->Offset, state->IrSize,
- state->Coeffs[c], state->Values[c], SamplesToDo
+ state->Chan[c].Coeffs, state->Chan[c].Values, SamplesToDo
);
}
state->Offset += SamplesToDo;