From d61376e54c6b0dabd5f0fea2604cdfb03c34dac9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 5 Jan 2023 16:47:37 -0800 Subject: Rename some lambda parameters to avoid shadowing warnings --- alc/effects/vmorpher.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alc/effects/vmorpher.cpp') diff --git a/alc/effects/vmorpher.cpp b/alc/effects/vmorpher.cpp index 81869dca..0eb136f9 100644 --- a/alc/effects/vmorpher.cpp +++ b/alc/effects/vmorpher.cpp @@ -273,10 +273,10 @@ void VmorpherState::update(const ContextBase *context, const EffectSlot *slot, } mOutTarget = target.Main->Buffer; - auto set_channel = [this](size_t idx, uint target, float gain) + auto set_channel = [this](size_t idx, uint outchan, float outgain) { - mChans[idx].mTargetChannel = target; - mChans[idx].mTargetGain = gain; + mChans[idx].mTargetChannel = outchan; + mChans[idx].mTargetGain = outgain; }; target.Main->setAmbiMixParams(slot->Wet, slot->Gain, set_channel); } -- cgit v1.2.3