diff options
author | Chris Robinson <[email protected]> | 2017-06-21 11:34:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-06-21 11:34:26 -0700 |
commit | 6fcbb7c73838ffd910df7dcdc85096937ee9e327 (patch) | |
tree | 987e2ded391b65a1d5f3095e04c3ce3b012f47fc /Alc/ALu.c | |
parent | e09468cdcab86de2d41d50b1d9530a970b83e65b (diff) |
Remove an unnecessary variable
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1777,14 +1777,13 @@ void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) { ALfloat (*OutBuffer)[BUFFERSIZE] = device->RealOut.Buffer; ALsizei OutChannels = device->RealOut.NumChannels; - struct Compressor *Limiter = device->Limiter; /* Use NFCtrlData for temp value storage. */ ApplyDistanceComp(OutBuffer, device->ChannelDelay, device->NFCtrlData, SamplesToDo, OutChannels); - if(Limiter) - ApplyCompression(Limiter, OutChannels, SamplesToDo, OutBuffer); + if(device->Limiter) + ApplyCompression(device->Limiter, OutChannels, SamplesToDo, OutBuffer); if(device->DitherDepth > 0.0f) ApplyDither(OutBuffer, &device->DitherSeed, device->DitherDepth, SamplesToDo, |