aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alu.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-05-28 22:44:50 -0700
committerChris Robinson <[email protected]>2019-05-28 22:44:50 -0700
commitb923eb187991a8db56fd23cffa70f946ce24c1ff (patch)
tree7e2dfb885cc0eb73ae1d5c48b8768bf6acfff45f /Alc/alu.cpp
parent838e2bae801fec73258c4b8332b4d95a34d0aff2 (diff)
Use FloatBufferLine with the HRTF mixer functions
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r--Alc/alu.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index 2ce74537..2a43cd88 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -133,9 +133,8 @@ void ProcessHrtf(ALCdevice *device, const ALsizei SamplesToDo)
ASSUME(lidx >= 0 && ridx >= 0);
DirectHrtfState *state{device->mHrtfState.get()};
- MixDirectHrtf(device->RealOut.Buffer[lidx].data(), device->RealOut.Buffer[ridx].data(),
- &reinterpret_cast<float(&)[BUFFERSIZE]>(device->Dry.Buffer[0]), device->HrtfAccumData,
- state, device->Dry.NumChannels, SamplesToDo);
+ MixDirectHrtf(device->RealOut.Buffer[lidx], device->RealOut.Buffer[ridx],
+ device->Dry.Buffer, device->HrtfAccumData, state, device->Dry.NumChannels, SamplesToDo);
}
void ProcessAmbiDec(ALCdevice *device, const ALsizei SamplesToDo)