diff options
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 13 |
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 |