From 23179d0bcdd27d2b5ab5ddf0e38b180e2d6969e6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 23 Jan 2019 11:11:41 -0800 Subject: Use a template declaration for the resampler functions --- Alc/mixer/mixer_sse.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc/mixer/mixer_sse.cpp') diff --git a/Alc/mixer/mixer_sse.cpp b/Alc/mixer/mixer_sse.cpp index d18af086..ec0fbfc5 100644 --- a/Alc/mixer/mixer_sse.cpp +++ b/Alc/mixer/mixer_sse.cpp @@ -14,9 +14,9 @@ #include "defs.h" -const ALfloat *Resample_bsinc_SSE(const InterpState *state, const ALfloat *RESTRICT src, - ALsizei frac, ALint increment, ALfloat *RESTRICT dst, - ALsizei dstlen) +template<> +const ALfloat *Resample_(const InterpState *state, const ALfloat *RESTRICT src, + ALsizei frac, ALint increment, ALfloat *RESTRICT dst, ALsizei dstlen) { const ALfloat *const filter{state->bsinc.filter}; const __m128 sf4{_mm_set1_ps(state->bsinc.sf)}; -- cgit v1.2.3