diff options
Diffstat (limited to 'Alc/effects/compressor.cpp')
-rw-r--r-- | Alc/effects/compressor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/effects/compressor.cpp b/Alc/effects/compressor.cpp index 99507661..12a8c886 100644 --- a/Alc/effects/compressor.cpp +++ b/Alc/effects/compressor.cpp @@ -76,12 +76,12 @@ void ALcompressorState::update(const ALCcontext* UNUSED(context), const ALeffect { mEnabled = props->Compressor.OnOff; - mOutBuffer = target.FOAOut->Buffer; - mOutChannels = target.FOAOut->NumChannels; + mOutBuffer = target.Main->Buffer; + mOutChannels = target.Main->NumChannels; for(size_t i{0u};i < slot->WetBuffer.size();++i) { auto coeffs = GetAmbiIdentityRow(i); - ComputePanGains(target.FOAOut, coeffs.data(), slot->Params.Gain, mGain[i]); + ComputePanGains(target.Main, coeffs.data(), slot->Params.Gain, mGain[i]); } } |