diff options
author | Chris Robinson <[email protected]> | 2018-04-29 18:03:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-04-29 18:03:33 -0700 |
commit | e8aaa9cb136a048e1d12adf8d01a3869aee9182d (patch) | |
tree | 99af531ac92399cb6b382c27970dd509e5c10d85 | |
parent | 2385ab700cc0aa4aa3895a029e20ee76ffe4c736 (diff) |
An output device buffer is likely
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |