aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse41.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_sse41.c
parent841d0bb893e19dbe6f95bd80a3ac50997f9e8f0d (diff)
Put BsincState in a generic union
Diffstat (limited to 'Alc/mixer_sse41.c')
-rw-r--r--Alc/mixer_sse41.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/Alc/mixer_sse41.c b/Alc/mixer_sse41.c
index a531ca77..7ae5bec7 100644
--- a/Alc/mixer_sse41.c
+++ b/Alc/mixer_sse41.c
@@ -28,9 +28,9 @@
#include "mixer_defs.h"
-const ALfloat *Resample_lerp32_SSE41(const BsincState* UNUSED(state), const ALfloat *restrict src,
- ALuint frac, ALint increment, ALfloat *restrict dst,
- ALsizei numsamples)
+const ALfloat *Resample_lerp32_SSE41(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 __m128 fracOne4 = _mm_set1_ps(1.0f/FRACTIONONE);
@@ -85,9 +85,9 @@ const ALfloat *Resample_lerp32_SSE41(const BsincState* UNUSED(state), const ALfl
return dst;
}
-const ALfloat *Resample_fir4_32_SSE41(const BsincState* UNUSED(state), const ALfloat *restrict src,
- ALuint frac, ALint increment, ALfloat *restrict dst,
- ALsizei numsamples)
+const ALfloat *Resample_fir4_32_SSE41(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);
@@ -153,9 +153,9 @@ const ALfloat *Resample_fir4_32_SSE41(const BsincState* UNUSED(state), const ALf
return dst;
}
-const ALfloat *Resample_fir8_32_SSE41(const BsincState* UNUSED(state), const ALfloat *restrict src,
- ALuint frac, ALint increment, ALfloat *restrict dst,
- ALsizei numsamples)
+const ALfloat *Resample_fir8_32_SSE41(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);