From e8aaa9cb136a048e1d12adf8d01a3869aee9182d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 29 Apr 2018 18:03:33 -0700 Subject: [PATCH] An output device buffer is likely --- Alc/ALu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.4.GIT