diff options
author | Chris Robinson <[email protected]> | 2018-11-21 16:46:52 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-21 16:46:52 -0800 |
commit | cc3e2a838f245770af3d773e8d2c461b9912e392 (patch) | |
tree | 1731cb65bf0be9f3de38f90f8730059a6c50ff5c /Alc/alu.cpp | |
parent | eefc379a239820a0711683455f5fadb20c8dbaf9 (diff) |
Use a unique_ptr for the Compressor
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r-- | Alc/alu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp index a87be0b6..4d3ad9b2 100644 --- a/Alc/alu.cpp +++ b/Alc/alu.cpp @@ -1787,7 +1787,7 @@ void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples) SamplesToDo, device->RealOut.NumChannels); if(device->Limiter) - ApplyCompression(device->Limiter, SamplesToDo, device->RealOut.Buffer); + ApplyCompression(device->Limiter.get(), SamplesToDo, device->RealOut.Buffer); if(device->DitherDepth > 0.0f) ApplyDither(device->RealOut.Buffer, &device->DitherSeed, device->DitherDepth, |