diff options
author | Chris Robinson <[email protected]> | 2022-12-06 01:48:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-12-06 01:48:58 -0800 |
commit | 4d757068c4784a18026089fd812949703bd9470a (patch) | |
tree | 1a1c2f819d14acc7a32cc26f10ffa1227c72b744 /core/mixer/hrtfbase.h | |
parent | 25a6814cf36bee82b24cb1b5f40769e66c327db4 (diff) |
Avoid using a macro to wrap standard attributes
Diffstat (limited to 'core/mixer/hrtfbase.h')
-rw-r--r-- | core/mixer/hrtfbase.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<float>(BufferSize) > GainSilenceThreshold) [[allikely]] + if(newGainStep*static_cast<float>(BufferSize) > GainSilenceThreshold) [[likely]] { size_t ldelay{HrtfHistoryLength+1 - newparams->Delay[0]}; size_t rdelay{HrtfHistoryLength+1 - newparams->Delay[1]}; |