aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-26 01:34:39 -0800
committerChris Robinson <[email protected]>2014-01-26 01:34:39 -0800
commita4bc0a46e9e0fe001d4c14909b47ed4ac8d81960 (patch)
treea0ba33c23b3ceeb36e44f3d0212091398da6bcf3 /Alc/ALu.c
parent49baa9128dd98e986639def4f24c7522d9ec6b56 (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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 34ac6687..bf09450f 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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;
}