From 4d757068c4784a18026089fd812949703bd9470a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 6 Dec 2022 01:48:58 -0800 Subject: Avoid using a macro to wrap standard attributes --- core/mixer/hrtfbase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/mixer') diff --git a/core/mixer/hrtfbase.h b/core/mixer/hrtfbase.h index c8c78263..656b9445 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(oldparams->Gain > GainSilenceThreshold) [[allikely]] + if(oldparams->Gain > GainSilenceThreshold) [[likely]] { 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(newGainStep*static_cast(BufferSize) > GainSilenceThreshold) [[allikely]] + if(newGainStep*static_cast(BufferSize) > GainSilenceThreshold) [[likely]] { size_t ldelay{HrtfHistoryLength+1 - newparams->Delay[0]}; size_t rdelay{HrtfHistoryLength+1 - newparams->Delay[1]}; -- cgit v1.2.3