diff options
author | Chris Robinson <[email protected]> | 2017-03-12 06:58:27 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-12 06:58:27 -0700 |
commit | 7b4645f5f8d0269f47517a506297bfb7694ec990 (patch) | |
tree | bfa97603c7c0fbc7dc4914a6c8d8a2b200a21341 /Alc/mixer_inc.c | |
parent | 96aaab93662be289d3b2c5312ae50502afa8d221 (diff) |
Store the HRIR coeff pointer and delays directly in MixHrtfParams
Diffstat (limited to 'Alc/mixer_inc.c')
-rw-r--r-- | Alc/mixer_inc.c | 4 |
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; |