aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/effects/autowah.cpp6
-rw-r--r--alc/effects/compressor.cpp6
-rw-r--r--alc/effects/equalizer.cpp6
-rw-r--r--alc/effects/modulator.cpp6
-rw-r--r--alc/effects/vmorpher.cpp6
5 files changed, 15 insertions, 15 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);
}
diff --git a/alc/effects/compressor.cpp b/alc/effects/compressor.cpp
index a4333539..c57bd58c 100644
--- a/alc/effects/compressor.cpp
+++ b/alc/effects/compressor.cpp
@@ -106,10 +106,10 @@ void CompressorState::update(const ContextBase*, const EffectSlot *slot,
mEnabled = props->Compressor.OnOff;
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].mTarget = target;
- mChans[idx].mGain = gain;
+ mChans[idx].mTarget = outchan;
+ mChans[idx].mGain = outgain;
};
target.Main->setAmbiMixParams(slot->Wet, slot->Gain, set_channel);
}
diff --git a/alc/effects/equalizer.cpp b/alc/effects/equalizer.cpp
index 52c491ec..f7e2a071 100644
--- a/alc/effects/equalizer.cpp
+++ b/alc/effects/equalizer.cpp
@@ -161,10 +161,10 @@ void EqualizerState::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);
}
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);
}
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);
}