aboutsummaryrefslogtreecommitdiffstats
path: root/core/mixer
diff options
context:
space:
mode:
Diffstat (limited to 'core/mixer')
-rw-r--r--core/mixer/hrtfbase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/mixer/hrtfbase.h b/core/mixer/hrtfbase.h
index 606f9d4e..c8c78263 100644
--- a/core/mixer/hrtfbase.h
+++ b/core/mixer/hrtfbase.h
@@ -50,7 +50,7 @@ inline void MixHrtfBlendBase(const float *InSamples, float2 *RESTRICT AccumSampl
const ConstHrirSpan NewCoeffs{newparams->Coeffs};
const float newGainStep{newparams->GainStep};
- if LIKELY(oldparams->Gain > GainSilenceThreshold)
+ if(oldparams->Gain > GainSilenceThreshold) [[allikely]]
{
size_t ldelay{HrtfHistoryLength - oldparams->Delay[0]};
size_t rdelay{HrtfHistoryLength - oldparams->Delay[1]};
@@ -66,7 +66,7 @@ inline void MixHrtfBlendBase(const float *InSamples, float2 *RESTRICT AccumSampl
}
}
- if LIKELY(newGainStep*static_cast<float>(BufferSize) > GainSilenceThreshold)
+ if(newGainStep*static_cast<float>(BufferSize) > GainSilenceThreshold) [[allikely]]
{
size_t ldelay{HrtfHistoryLength+1 - newparams->Delay[0]};
size_t rdelay{HrtfHistoryLength+1 - newparams->Delay[1]};