aboutsummaryrefslogtreecommitdiffstats
path: root/core/mixer/mixer_sse.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-13 13:35:21 -0800
committerChris Robinson <[email protected]>2023-01-13 13:35:21 -0800
commite11cae32067a7ab84b51e5483470020251c943d5 (patch)
treeb885d734a8bae408e1ebcb78e2246adec8ab39ef /core/mixer/mixer_sse.cpp
parentdd2f72ce90bcc0ffcfe2874778e7b2b2ef31ebe3 (diff)
Ensure the mixer helpers are properly inlined
Diffstat (limited to 'core/mixer/mixer_sse.cpp')
-rw-r--r--core/mixer/mixer_sse.cpp6
1 files changed, 3 insertions, 3 deletions
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<const float> 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<const float> 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};