From 58a18ab3c0126337d17939b5060fce28a39b8cf1 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 4 Jan 2023 23:18:17 -0800 Subject: Add a simple wrapper to call the mixer function --- core/voice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/voice.cpp') diff --git a/core/voice.cpp b/core/voice.cpp index fc3a38cc..1b979614 100644 --- a/core/voice.cpp +++ b/core/voice.cpp @@ -71,7 +71,7 @@ using HrtfMixerBlendFunc = void(*)(const float *InSamples, float2 *AccumSamples, HrtfMixerFunc MixHrtfSamples{MixHrtf_}; HrtfMixerBlendFunc MixHrtfBlendSamples{MixHrtfBlend_}; -inline MixerFunc SelectMixer() +inline MixerOutFunc SelectMixer() { #ifdef HAVE_NEON if((CPUCapFlags&CPU_CAP_NEON)) @@ -152,7 +152,7 @@ void Voice::InitMixer(al::optional resampler) ResamplerDefault = iter->resampler; } - MixSamples = SelectMixer(); + MixSamplesOut = SelectMixer(); MixHrtfBlendSamples = SelectHrtfBlendMixer(); MixHrtfSamples = SelectHrtfMixer(); } -- cgit v1.2.3