aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-08-16 18:09:53 -0700
committerChris Robinson <[email protected]>2017-08-16 18:09:53 -0700
commit5008024e73e7451c25a4c8729bfb636699615e8e (patch)
treee74f3f6fed16f70db6982d6819d2d347a708c7f2 /Alc/mixer.c
parentf9c09cc845b786705b43b39300d8706db7ab0054 (diff)
Store the sinc4 table in the filter state
Also rename the resampler functions to remove the unnecessary '32' token.
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index ff16452f..bb71fde4 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -112,48 +112,48 @@ ResamplerFunc SelectResampler(enum Resampler resampler)
switch(resampler)
{
case PointResampler:
- return Resample_point32_C;
+ return Resample_point_C;
case LinearResampler:
#ifdef HAVE_NEON
if((CPUCapFlags&CPU_CAP_NEON))
- return Resample_lerp32_Neon;
+ return Resample_lerp_Neon;
#endif
#ifdef HAVE_SSE4_1
if((CPUCapFlags&CPU_CAP_SSE4_1))
- return Resample_lerp32_SSE41;
+ return Resample_lerp_SSE41;
#endif
#ifdef HAVE_SSE2
if((CPUCapFlags&CPU_CAP_SSE2))
- return Resample_lerp32_SSE2;
+ return Resample_lerp_SSE2;
#endif
- return Resample_lerp32_C;
+ return Resample_lerp_C;
case FIR4Resampler:
#ifdef HAVE_NEON
if((CPUCapFlags&CPU_CAP_NEON))
- return Resample_fir4_32_Neon;
+ return Resample_fir4_Neon;
#endif
#ifdef HAVE_SSE4_1
if((CPUCapFlags&CPU_CAP_SSE4_1))
- return Resample_fir4_32_SSE41;
+ return Resample_fir4_SSE41;
#endif
#ifdef HAVE_SSE3
if((CPUCapFlags&CPU_CAP_SSE3))
- return Resample_fir4_32_SSE3;
+ return Resample_fir4_SSE3;
#endif
- return Resample_fir4_32_C;
+ return Resample_fir4_C;
case BSincResampler:
#ifdef HAVE_NEON
if((CPUCapFlags&CPU_CAP_NEON))
- return Resample_bsinc32_Neon;
+ return Resample_bsinc_Neon;
#endif
#ifdef HAVE_SSE
if((CPUCapFlags&CPU_CAP_SSE))
- return Resample_bsinc32_SSE;
+ return Resample_bsinc_SSE;
#endif
- return Resample_bsinc32_C;
+ return Resample_bsinc_C;
}
- return Resample_point32_C;
+ return Resample_point_C;
}
@@ -312,7 +312,7 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei
IrSize = (Device->HrtfHandle ? Device->HrtfHandle->irSize : 0);
Resample = ((increment == FRACTIONONE && DataPosFrac == 0) ?
- Resample_copy32_C : voice->Resampler);
+ Resample_copy_C : voice->Resampler);
Counter = (voice->Flags&VOICE_IS_FADING) ? SamplesToDo : 0;
firstpass = true;