diff options
Diffstat (limited to 'core/mixer/mixer_sse2.cpp')
-rw-r--r-- | core/mixer/mixer_sse2.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/mixer/mixer_sse2.cpp b/core/mixer/mixer_sse2.cpp index 923924db..edaaf7a1 100644 --- a/core/mixer/mixer_sse2.cpp +++ b/core/mixer/mixer_sse2.cpp @@ -35,8 +35,8 @@ struct LerpTag; #endif template<> -float *Resample_<LerpTag,SSE2Tag>(const InterpState*, float *RESTRICT src, uint frac, - uint increment, const al::span<float> dst) +void Resample_<LerpTag,SSE2Tag>(const InterpState*, const float *RESTRICT src, uint frac, + const uint increment, const al::span<float> dst) { ASSUME(frac < MixerFracOne); @@ -87,5 +87,4 @@ float *Resample_<LerpTag,SSE2Tag>(const InterpState*, float *RESTRICT src, uint frac &= MixerFracMask; } while(--todo); } - return dst.data(); } |