aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer/mixer_sse41.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/mixer/mixer_sse41.cpp')
-rw-r--r--alc/mixer/mixer_sse41.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/mixer/mixer_sse41.cpp b/alc/mixer/mixer_sse41.cpp
index cfa21e99..1f483887 100644
--- a/alc/mixer/mixer_sse41.cpp
+++ b/alc/mixer/mixer_sse41.cpp
@@ -29,8 +29,8 @@
template<>
-const ALfloat *Resample_<LerpTag,SSE4Tag>(const InterpState*, const ALfloat *RESTRICT src,
- ALuint frac, ALuint increment, const al::span<float> dst)
+const float *Resample_<LerpTag,SSE4Tag>(const InterpState*, const float *RESTRICT src, ALuint frac,
+ ALuint increment, const al::span<float> dst)
{
const __m128i increment4{_mm_set1_epi32(static_cast<int>(increment*4))};
const __m128 fracOne4{_mm_set1_ps(1.0f/FRACTIONONE)};
@@ -84,5 +84,5 @@ const ALfloat *Resample_<LerpTag,SSE4Tag>(const InterpState*, const ALfloat *RES
frac &= FRACTIONMASK;
} while(dst_iter != dst.end());
}
- return dst.begin();
+ return dst.data();
}