aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-16 08:14:26 -0700
committerChris Robinson <[email protected]>2012-09-16 08:14:26 -0700
commita240abb6c85189ab9099326e5301b1c640a6398d (patch)
treec7644d811d6b95008af730dcb899dc6b3de4335a /Alc/ALu.c
parentdd9d30e2489d938d5ec0d75702c82b943a1b3efa (diff)
Avoid building redundant mixers
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c22
1 files changed, 7 insertions, 15 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 3033e7ce..a7f0839a 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -80,32 +80,28 @@ static ResamplerFunc SelectResampler(enum Resampler Resampler, ALuint increment)
}
-static DryMixerFunc SelectDirectMixer(void)
+static DryMixerFunc SelectHrtfMixer(void)
{
#ifdef HAVE_SSE
if((CPUCapFlags&CPU_CAP_SSE))
- return MixDirect_SSE;
+ return MixDirect_Hrtf_SSE;
#endif
#ifdef HAVE_NEON
if((CPUCapFlags&CPU_CAP_NEON))
- return MixDirect_Neon;
+ return MixDirect_Hrtf_Neon;
#endif
- return MixDirect_C;
+ return MixDirect_Hrtf_C;
}
-static DryMixerFunc SelectHrtfMixer(void)
+static DryMixerFunc SelectDirectMixer(void)
{
#ifdef HAVE_SSE
if((CPUCapFlags&CPU_CAP_SSE))
- return MixDirect_Hrtf_SSE;
-#endif
-#ifdef HAVE_NEON
- if((CPUCapFlags&CPU_CAP_NEON))
- return MixDirect_Hrtf_Neon;
+ return MixDirect_SSE;
#endif
- return MixDirect_Hrtf_C;
+ return MixDirect_C;
}
static WetMixerFunc SelectSendMixer(void)
@@ -114,10 +110,6 @@ static WetMixerFunc SelectSendMixer(void)
if((CPUCapFlags&CPU_CAP_SSE))
return MixSend_SSE;
#endif
-#ifdef HAVE_NEON
- if((CPUCapFlags&CPU_CAP_NEON))
- return MixSend_Neon;
-#endif
return MixSend_C;
}