diff options
author | Chris Robinson <[email protected]> | 2019-07-31 10:46:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-31 10:46:33 -0700 |
commit | 151ff51e7d7b8265cac804f3b754a87924902090 (patch) | |
tree | 8908296e7e18da690b7d139fcb03d9977907230f /alc/mixer/hrtfbase.h | |
parent | d1f72624a749bd9c2a17ddeb303703a78f53d4a5 (diff) |
Don't templatize HrirArray
Diffstat (limited to 'alc/mixer/hrtfbase.h')
-rw-r--r-- | alc/mixer/hrtfbase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/mixer/hrtfbase.h b/alc/mixer/hrtfbase.h index a76bd62e..3c8208f3 100644 --- a/alc/mixer/hrtfbase.h +++ b/alc/mixer/hrtfbase.h @@ -9,7 +9,7 @@ using ApplyCoeffsT = void(ALsizei Offset, float2 *RESTRICT Values, const ALsizei irSize, - const HrirArray<ALfloat> &Coeffs, const ALfloat left, const ALfloat right); + const HrirArray &Coeffs, const ALfloat left, const ALfloat right); template<ApplyCoeffsT &ApplyCoeffs> inline void MixHrtfBase(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, @@ -20,7 +20,7 @@ inline void MixHrtfBase(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, ASSUME(IrSize >= 4); ASSUME(BufferSize > 0); - const auto &Coeffs = *hrtfparams->Coeffs; + const HrirArray &Coeffs = *hrtfparams->Coeffs; const ALfloat gainstep{hrtfparams->GainStep}; const ALfloat gain{hrtfparams->Gain}; |