From b9e192b78a384ff13d87c606502373725042509c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 5 Nov 2015 09:42:08 -0800 Subject: Implement a band-limited sinc resampler This is essentially a 12-point sinc resampler, unless it's resampling to a rate higher than the output, at which point it will vary between 12 and 24 points and do anti-aliasing to avoid/reduce frequencies going over nyquist. Code provided by Christopher Fitzgerald. --- Alc/mixer_sse2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/mixer_sse2.c') diff --git a/Alc/mixer_sse2.c b/Alc/mixer_sse2.c index a134b9a6..32f29227 100644 --- a/Alc/mixer_sse2.c +++ b/Alc/mixer_sse2.c @@ -27,7 +27,7 @@ #include "mixer_defs.h" -const ALfloat *Resample_lerp32_SSE2(const ALfloat *src, ALuint frac, ALuint increment, +const ALfloat *Resample_lerp32_SSE2(const BsincState* UNUSED(state), const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint numsamples) { const __m128i increment4 = _mm_set1_epi32(increment*4); -- cgit v1.2.3