aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/modulator.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-05 16:47:37 -0800
committerChris Robinson <[email protected]>2023-01-05 16:47:37 -0800
commitd61376e54c6b0dabd5f0fea2604cdfb03c34dac9 (patch)
tree175a8453c2137e8164877927e4cdb9a9602ce94a /alc/effects/modulator.cpp
parent6d613b308839eb216b32db265aed959a93fdd4bb (diff)
Rename some lambda parameters to avoid shadowing warnings
Diffstat (limited to 'alc/effects/modulator.cpp')
-rw-r--r--alc/effects/modulator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/effects/modulator.cpp b/alc/effects/modulator.cpp
index 5699badf..aa0b1f70 100644
--- a/alc/effects/modulator.cpp
+++ b/alc/effects/modulator.cpp
@@ -137,10 +137,10 @@ void ModulatorState::update(const ContextBase *context, const EffectSlot *slot,
mChans[i].mFilter.copyParamsFrom(mChans[0].mFilter);
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);
}