diff options
author | Chris Robinson <[email protected]> | 2019-01-23 11:11:41 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-01-23 11:11:41 -0800 |
commit | 23179d0bcdd27d2b5ab5ddf0e38b180e2d6969e6 (patch) | |
tree | f42d1323eada3d1f2a1f9c053eba6d6784a0a1ee /Alc/mixer/mixer_sse.cpp | |
parent | e332ac852892327d913ce8adfbb85bf30c8ccd24 (diff) |
Use a template declaration for the resampler functions
Diffstat (limited to 'Alc/mixer/mixer_sse.cpp')
-rw-r--r-- | Alc/mixer/mixer_sse.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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_<BSincTag,SSETag>(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)}; |