diff options
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r-- | alc/alu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index fc3555bf..9923496f 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -1927,13 +1927,13 @@ void aluMixData(ALCdevice *device, void *OutBuffer, const ALuint NumSamples, const al::span<FloatBufferLine> RealOut{device->RealOut.Buffer}; /* Apply front image stablization for surround sound, if applicable. */ - if(device->Stablizer) + if(FrontStablizer *stablizer{device->Stablizer.get()}) { const ALuint lidx{GetChannelIdxByName(device->RealOut, FrontLeft)}; const ALuint ridx{GetChannelIdxByName(device->RealOut, FrontRight)}; const ALuint cidx{GetChannelIdxByName(device->RealOut, FrontCenter)}; - ApplyStablizer(device->Stablizer.get(), RealOut, lidx, ridx, cidx, SamplesToDo); + ApplyStablizer(stablizer, RealOut, lidx, ridx, cidx, SamplesToDo); } /* Apply compression, limiting sample amplitude if needed or desired. */ |