diff options
author | Chris Robinson <[email protected]> | 2017-03-11 06:20:04 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-11 06:20:04 -0800 |
commit | 98e8f941b773df0b591e7c6c6c0e3b5096a9b4f2 (patch) | |
tree | d09869e6f5e9f049159d26f0cd43d94c770c937a /Alc/ALu.c | |
parent | 6b4b00e4625139157996bcf2161ec8688a4b11e8 (diff) |
Allocate as many channels for DirectHrtfState as needed
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |