aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-10-04 16:25:43 -0700
committerChris Robinson <[email protected]>2016-10-04 16:25:43 -0700
commit9349ee9002c5cf2cd7906c9444292285529a91e9 (patch)
treee1574d31cc21e467162d234d8d66311d9d93c54d /Alc/mixer.c
parenta0e4696f5578fa42ec0ac7ac47141bf41fb727ff (diff)
Make some pointer-to-array parameters const
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 2736920e..864e2395 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -79,6 +79,19 @@ MixerFunc SelectMixer(void)
return Mix_C;
}
+RowMixerFunc SelectRowMixer(void)
+{
+#ifdef HAVE_SSE
+ if((CPUCapFlags&CPU_CAP_SSE))
+ return MixRow_SSE;
+#endif
+#ifdef HAVE_NEON
+ if((CPUCapFlags&CPU_CAP_NEON))
+ return MixRow_Neon;
+#endif
+ return MixRow_C;
+}
+
static inline HrtfMixerFunc SelectHrtfMixer(void)
{
#ifdef HAVE_SSE