diff options
author | Chris Robinson <[email protected]> | 2016-10-04 16:25:43 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-10-04 16:25:43 -0700 |
commit | 9349ee9002c5cf2cd7906c9444292285529a91e9 (patch) | |
tree | e1574d31cc21e467162d234d8d66311d9d93c54d /Alc/mixer.c | |
parent | a0e4696f5578fa42ec0ac7ac47141bf41fb727ff (diff) |
Make some pointer-to-array parameters const
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 |