aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-31 10:46:33 -0700
committerChris Robinson <[email protected]>2019-07-31 10:46:33 -0700
commit151ff51e7d7b8265cac804f3b754a87924902090 (patch)
tree8908296e7e18da690b7d139fcb03d9977907230f /alc/mixer
parentd1f72624a749bd9c2a17ddeb303703a78f53d4a5 (diff)
Don't templatize HrirArray
Diffstat (limited to 'alc/mixer')
-rw-r--r--alc/mixer/hrtfbase.h4
-rw-r--r--alc/mixer/mixer_c.cpp2
-rw-r--r--alc/mixer/mixer_neon.cpp2
-rw-r--r--alc/mixer/mixer_sse.cpp2
4 files changed, 5 insertions, 5 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};
diff --git a/alc/mixer/mixer_c.cpp b/alc/mixer/mixer_c.cpp
index 3513cf2b..765b03fa 100644
--- a/alc/mixer/mixer_c.cpp
+++ b/alc/mixer/mixer_c.cpp
@@ -104,7 +104,7 @@ const ALfloat *Resample_<BSincTag,CTag>(const InterpState *state, const ALfloat
static inline void ApplyCoeffs(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)
{
ASSUME(IrSize >= 2);
for(ALsizei c{0};c < IrSize;++c)
diff --git a/alc/mixer/mixer_neon.cpp b/alc/mixer/mixer_neon.cpp
index fa487d97..b4ca61d7 100644
--- a/alc/mixer/mixer_neon.cpp
+++ b/alc/mixer/mixer_neon.cpp
@@ -136,7 +136,7 @@ const ALfloat *Resample_<BSincTag,NEONTag>(const InterpState *state, const ALflo
static inline void ApplyCoeffs(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)
{
ASSUME(IrSize >= 2);
diff --git a/alc/mixer/mixer_sse.cpp b/alc/mixer/mixer_sse.cpp
index 516dabac..b52ef256 100644
--- a/alc/mixer/mixer_sse.cpp
+++ b/alc/mixer/mixer_sse.cpp
@@ -75,7 +75,7 @@ const ALfloat *Resample_<BSincTag,SSETag>(const InterpState *state, const ALfloa
static inline void ApplyCoeffs(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)
{
const __m128 lrlr{_mm_setr_ps(left, right, left, right)};