diff options
author | Chris Robinson <[email protected]> | 2012-09-16 08:14:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-16 08:14:26 -0700 |
commit | a240abb6c85189ab9099326e5301b1c640a6398d (patch) | |
tree | c7644d811d6b95008af730dcb899dc6b3de4335a /Alc/ALu.c | |
parent | dd9d30e2489d938d5ec0d75702c82b943a1b3efa (diff) |
Avoid building redundant mixers
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 22 |
1 files changed, 7 insertions, 15 deletions
@@ -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; } |