aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_inc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-03-12 06:58:27 -0700
committerChris Robinson <[email protected]>2017-03-12 06:58:27 -0700
commit7b4645f5f8d0269f47517a506297bfb7694ec990 (patch)
treebfa97603c7c0fbc7dc4914a6c8d8a2b200a21341 /Alc/mixer_inc.c
parent96aaab93662be289d3b2c5312ae50502afa8d221 (diff)
Store the HRIR coeff pointer and delays directly in MixHrtfParams
Diffstat (limited to 'Alc/mixer_inc.c')
-rw-r--r--Alc/mixer_inc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer_inc.c b/Alc/mixer_inc.c
index b42b0fd3..ee3286e9 100644
--- a/Alc/mixer_inc.c
+++ b/Alc/mixer_inc.c
@@ -23,8 +23,8 @@ void MixHrtf(ALfloat *restrict LeftOut, ALfloat *restrict RightOut,
const ALsizei IrSize, MixHrtfParams *hrtfparams, HrtfState *hrtfstate,
ALsizei BufferSize)
{
- const ALfloat (*Coeffs)[2] = hrtfparams->Current->Coeffs;
- ALsizei Delay[2] = { hrtfparams->Current->Delay[0], hrtfparams->Current->Delay[1] };
+ const ALfloat (*Coeffs)[2] = ASSUME_ALIGNED(hrtfparams->Coeffs, 16);
+ const ALsizei Delay[2] = { hrtfparams->Delay[0], hrtfparams->Delay[1] };
ALfloat gainstep = hrtfparams->GainStep;
ALfloat gain = hrtfparams->Gain;
ALfloat left, right;