aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse3.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-13 11:29:32 -0800
committerChris Robinson <[email protected]>2017-02-13 11:29:32 -0800
commit0324712540f88d18f1fa8f18f7a72da06af00d75 (patch)
treedf0e7b260f1833f3e5b42503225d2b6978ccf181 /Alc/mixer_sse3.c
parent841d0bb893e19dbe6f95bd80a3ac50997f9e8f0d (diff)
Put BsincState in a generic union
Diffstat (limited to 'Alc/mixer_sse3.c')
-rw-r--r--Alc/mixer_sse3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Alc/mixer_sse3.c b/Alc/mixer_sse3.c
index 34121d71..3b444158 100644
--- a/Alc/mixer_sse3.c
+++ b/Alc/mixer_sse3.c
@@ -31,9 +31,9 @@
#include "mixer_defs.h"
-const ALfloat *Resample_fir4_32_SSE3(const BsincState* UNUSED(state), const ALfloat *restrict src,
- ALuint frac, ALint increment, ALfloat *restrict dst,
- ALsizei numsamples)
+const ALfloat *Resample_fir4_32_SSE3(const InterpState* UNUSED(state),
+ const ALfloat *restrict src, ALuint frac, ALint increment,
+ ALfloat *restrict dst, ALsizei numsamples)
{
const __m128i increment4 = _mm_set1_epi32(increment*4);
const __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK);
@@ -96,9 +96,9 @@ const ALfloat *Resample_fir4_32_SSE3(const BsincState* UNUSED(state), const ALfl
return dst;
}
-const ALfloat *Resample_fir8_32_SSE3(const BsincState* UNUSED(state), const ALfloat *restrict src,
- ALuint frac, ALint increment, ALfloat *restrict dst,
- ALsizei numsamples)
+const ALfloat *Resample_fir8_32_SSE3(const InterpState* UNUSED(state),
+ const ALfloat *restrict src, ALuint frac, ALint increment,
+ ALfloat *restrict dst, ALsizei numsamples)
{
const __m128i increment4 = _mm_set1_epi32(increment*4);
const __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK);