aboutsummaryrefslogtreecommitdiffstats
path: root/alc/bformatdec.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-04 11:59:14 -0700
committerChris Robinson <[email protected]>2019-08-04 11:59:14 -0700
commit2fa2c35bdc2a09d5e856bb12ad6dff556bbe65a8 (patch)
tree4a6c7a5f2a80ad7870e9028e48b8b99e558042f5 /alc/bformatdec.cpp
parent7897de31d0f75f4ac1d91fe8c470953e9f54d151 (diff)
Modify LIKELY and UNLIKELY to not need extra parenthesis
Diffstat (limited to 'alc/bformatdec.cpp')
-rw-r--r--alc/bformatdec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/bformatdec.cpp b/alc/bformatdec.cpp
index 6b20dd84..8319600e 100644
--- a/alc/bformatdec.cpp
+++ b/alc/bformatdec.cpp
@@ -160,7 +160,7 @@ void BFormatDec::process(const al::span<FloatBufferLine> OutBuffer,
ALuint enabled{mEnabled};
for(FloatBufferLine &outbuf : OutBuffer)
{
- if(LIKELY(enabled&1))
+ if LIKELY(enabled&1)
{
MixRowSamples(outbuf, (*mixmtx)[sHFBand], hfsamples, 0, SamplesToDo);
MixRowSamples(outbuf, (*mixmtx)[sLFBand], lfsamples, 0, SamplesToDo);
@@ -176,7 +176,7 @@ void BFormatDec::process(const al::span<FloatBufferLine> OutBuffer,
ALuint enabled{mEnabled};
for(FloatBufferLine &outbuf : OutBuffer)
{
- if(LIKELY(enabled&1))
+ if LIKELY(enabled&1)
MixRowSamples(outbuf, *mixmtx, insamples, 0, SamplesToDo);
++mixmtx;
enabled >>= 1;