aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/autowah.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/effects/autowah.cpp')
-rw-r--r--alc/effects/autowah.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/effects/autowah.cpp b/alc/effects/autowah.cpp
index 581476a2..50ec0268 100644
--- a/alc/effects/autowah.cpp
+++ b/alc/effects/autowah.cpp
@@ -134,10 +134,10 @@ void AutowahState::update(const ContextBase *context, const EffectSlot *slot,
mBandwidthNorm = (MaxFreq-MinFreq) / frequency;
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);
}