From e11cae32067a7ab84b51e5483470020251c943d5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 13 Jan 2023 13:35:21 -0800 Subject: Ensure the mixer helpers are properly inlined --- core/mixer/mixer_sse.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/mixer/mixer_sse.cpp') diff --git a/core/mixer/mixer_sse.cpp b/core/mixer/mixer_sse.cpp index 702f9bd4..6baad7fb 100644 --- a/core/mixer/mixer_sse.cpp +++ b/core/mixer/mixer_sse.cpp @@ -73,9 +73,9 @@ inline void ApplyCoeffs(float2 *RESTRICT Values, const size_t IrSize, const Cons } } -inline void MixLine(const al::span InSamples, float *RESTRICT dst, float &CurrentGain, - const float TargetGain, const float delta, const size_t min_len, const size_t aligned_len, - size_t Counter) +force_inline void MixLine(const al::span InSamples, float *RESTRICT dst, + float &CurrentGain, const float TargetGain, const float delta, const size_t min_len, + const size_t aligned_len, size_t Counter) { float gain{CurrentGain}; const float step{(TargetGain-gain) * delta}; -- cgit v1.2.3