diff options
author | Chris Robinson <[email protected]> | 2018-01-16 12:18:59 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-16 12:18:59 -0800 |
commit | e80b016cbedd500bec7119005537bdc92231e667 (patch) | |
tree | 63ee233e7c454d45581e0e5e0d940819a7bafd52 /Alc/mixer.c | |
parent | 8c19497340951aceb88d4f91038cafece6f00d7c (diff) |
Use a global RowMixerFunc
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index 76e5f759..a63bd909 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -53,6 +53,7 @@ static_assert(MAX_RESAMPLE_PADDING >= 24, "MAX_RESAMPLE_PADDING must be at least enum Resampler ResamplerDefault = LinearResampler; MixerFunc MixSamples = Mix_C; +RowMixerFunc MixRowSamples = MixRow_C; static HrtfMixerFunc MixHrtfSamples = MixHrtf_C; static HrtfMixerBlendFunc MixHrtfBlendSamples = MixHrtfBlend_C; @@ -69,7 +70,7 @@ static MixerFunc SelectMixer(void) return Mix_C; } -RowMixerFunc SelectRowMixer(void) +static RowMixerFunc SelectRowMixer(void) { #ifdef HAVE_NEON if((CPUCapFlags&CPU_CAP_NEON)) @@ -187,6 +188,7 @@ void aluInitMixer(void) MixHrtfBlendSamples = SelectHrtfBlendMixer(); MixHrtfSamples = SelectHrtfMixer(); MixSamples = SelectMixer(); + MixRowSamples = SelectRowMixer(); } |