aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-04-29 18:03:33 -0700
committerChris Robinson <[email protected]>2018-04-29 18:03:33 -0700
commite8aaa9cb136a048e1d12adf8d01a3869aee9182d (patch)
tree99af531ac92399cb6b382c27970dd509e5c10d85
parent2385ab700cc0aa4aa3895a029e20ee76ffe4c736 (diff)
An output device buffer is likely
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 92483aee..177509b6 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1831,7 +1831,7 @@ void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples)
ApplyDither(device->RealOut.Buffer, &device->DitherSeed, device->DitherDepth,
SamplesToDo, device->RealOut.NumChannels);
- if(OutBuffer)
+ if(LIKELY(OutBuffer))
{
ALfloat (*Buffer)[BUFFERSIZE] = device->RealOut.Buffer;
ALsizei Channels = device->RealOut.NumChannels;