diff options
author | Chris Robinson <[email protected]> | 2018-11-22 04:53:29 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-22 04:53:29 -0800 |
commit | 671ed1abf8cc246c6e2b5f9ae3bac132fb9af519 (patch) | |
tree | 66402274da934f19f30da30b2acb8a25a6958a53 /Alc/alu.cpp | |
parent | cc3e2a838f245770af3d773e8d2c461b9912e392 (diff) |
Use a unique_ptr for the FrontStablizer
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 4d3ad9b2..da9d10f2 100644 --- a/Alc/alu.cpp +++ b/Alc/alu.cpp @@ -1779,7 +1779,7 @@ void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples) int cidx = GetChannelIdxByName(&device->RealOut, FrontCenter); assert(lidx >= 0 && ridx >= 0 && cidx >= 0); - ApplyStablizer(device->Stablizer, device->RealOut.Buffer, lidx, ridx, cidx, + ApplyStablizer(device->Stablizer.get(), device->RealOut.Buffer, lidx, ridx, cidx, SamplesToDo, device->RealOut.NumChannels); } |