aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-09-06 13:21:11 -0700
committerChris Robinson <[email protected]>2016-09-06 13:21:11 -0700
commit1d9d1958db4b14da654a3bc3f362582829596c75 (patch)
tree0cba33071b023c1eb6985f478f2eecfdd7890aef /Alc/effects/reverb.c
parent9cbe02fd850b9ecc4a227c7553004ca3203a5ed0 (diff)
Make the SelectMixer function sharable
Diffstat (limited to 'Alc/effects/reverb.c')
-rw-r--r--Alc/effects/reverb.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index bdb7ae73..ef25c076 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -37,22 +37,8 @@
* iteration. */
#define MAX_UPDATE_SAMPLES 256
-static MixerFunc MixSamples = Mix_C;
-
-static inline MixerFunc SelectMixer(void)
-{
-#ifdef HAVE_SSE
- if((CPUCapFlags&CPU_CAP_SSE))
- return Mix_SSE;
-#endif
-#ifdef HAVE_NEON
- if((CPUCapFlags&CPU_CAP_NEON))
- return Mix_Neon;
-#endif
-
- return Mix_C;
-}
+static MixerFunc MixSamples = Mix_C;
static alonce_flag mixfunc_inited = AL_ONCE_FLAG_INIT;
static void init_mixfunc(void)