diff options
author | Chris Robinson <[email protected]> | 2014-01-26 01:34:39 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-01-26 01:34:39 -0800 |
commit | a4bc0a46e9e0fe001d4c14909b47ed4ac8d81960 (patch) | |
tree | a0ba33c23b3ceeb36e44f3d0212091398da6bcf3 /Alc/ALu.c | |
parent | 49baa9128dd98e986639def4f24c7522d9ec6b56 (diff) |
Implement dry and wet mixers for Neon
Code provided by Philippe Simons <[email protected]>.
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -118,6 +118,10 @@ static DryMixerFunc SelectDirectMixer(void) if((CPUCapFlags&CPU_CAP_SSE)) return MixDirect_SSE; #endif +#ifdef HAVE_NEON + if((CPUCapFlags&CPU_CAP_NEON)) + return MixDirect_Neon; +#endif return MixDirect_C; } @@ -128,6 +132,10 @@ 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; } |