diff options
author | Chris Robinson <[email protected]> | 2017-12-17 21:48:07 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-12-17 21:48:07 -0800 |
commit | 2346426b6eaffada27d60dfd6935f04f15aae6cf (patch) | |
tree | 6fb742b4a2eccf28d6955cd3a36828db41256d0d /Alc | |
parent | 8253014fe9e8cc6b7e1ea0b839e7c1a11e1524c1 (diff) |
Make MixSamples non-static global
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/effects/reverb.c | 2 | ||||
-rw-r--r-- | Alc/mixer.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c index ee7954c4..e86e3895 100644 --- a/Alc/effects/reverb.c +++ b/Alc/effects/reverb.c @@ -50,13 +50,11 @@ #define UNEXPECTED(x) (x) #endif -static MixerFunc MixSamples = Mix_C; static RowMixerFunc MixRowSamples = MixRow_C; static alonce_flag mixfunc_inited = AL_ONCE_FLAG_INIT; static void init_mixfunc(void) { - MixSamples = SelectMixer(); MixRowSamples = SelectRowMixer(); } diff --git a/Alc/mixer.c b/Alc/mixer.c index 1214169b..00d2c601 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -51,11 +51,11 @@ static_assert(MAX_POST_SAMPLES >= 12, "MAX_POST_SAMPLES must be at least 12!"); enum Resampler ResamplerDefault = LinearResampler; -static MixerFunc MixSamples = Mix_C; +MixerFunc MixSamples = Mix_C; static HrtfMixerFunc MixHrtfSamples = MixHrtf_C; HrtfMixerBlendFunc MixHrtfBlendSamples = MixHrtfBlend_C; -MixerFunc SelectMixer(void) +static MixerFunc SelectMixer(void) { #ifdef HAVE_NEON if((CPUCapFlags&CPU_CAP_NEON)) |