diff options
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r-- | Alc/alu.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp index 2490f0cb..6655bd81 100644 --- a/Alc/alu.cpp +++ b/Alc/alu.cpp @@ -139,10 +139,7 @@ void ProcessHrtf(ALCdevice *device, ALsizei SamplesToDo) const ALfloat (*Input)[BUFFERSIZE]{device->Dry.Buffer}; DirectHrtfState *state{device->mHrtfState.get()}; for(ALsizei c{0};c < num_chans;c++) - { - MixDirectHrtf(LeftOut, RightOut, Input[c], state->Offset, state->IrSize, - state->Chan[c].Coeffs, state->Chan[c].Values, SamplesToDo); - } + MixDirectHrtf(LeftOut, RightOut, Input[c], state, c, SamplesToDo); state->Offset += SamplesToDo; } |