aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects')
-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
4 files changed, 12 insertions, 12 deletions
diff --git a/Alc/effects/autowah.cpp b/Alc/effects/autowah.cpp
index ad4daf8d..06628e25 100644
--- a/Alc/effects/autowah.cpp
+++ b/Alc/effects/autowah.cpp
@@ -117,12 +117,12 @@ void ALautowahState::update(const ALCcontext *context, const ALeffectslot *slot,
mFreqMinNorm = MIN_FREQ / device->Frequency;
mBandwidthNorm = (MAX_FREQ-MIN_FREQ) / device->Frequency;
- 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, mChans[i].TargetGains);
+ ComputePanGains(target.Main, coeffs.data(), slot->Params.Gain, mChans[i].TargetGains);
}
}
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]);
}
}
diff --git a/Alc/effects/equalizer.cpp b/Alc/effects/equalizer.cpp
index 9abac6ea..c4d2e53f 100644
--- a/Alc/effects/equalizer.cpp
+++ b/Alc/effects/equalizer.cpp
@@ -149,12 +149,12 @@ void ALequalizerState::update(const ALCcontext *context, const ALeffectslot *slo
mChans[i].filter[3].copyParamsFrom(mChans[0].filter[3]);
}
- 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, mChans[i].TargetGains);
+ ComputePanGains(target.Main, coeffs.data(), slot->Params.Gain, mChans[i].TargetGains);
}
}
diff --git a/Alc/effects/modulator.cpp b/Alc/effects/modulator.cpp
index 5786b708..6bfab546 100644
--- a/Alc/effects/modulator.cpp
+++ b/Alc/effects/modulator.cpp
@@ -129,12 +129,12 @@ void ALmodulatorState::update(const ALCcontext *context, const ALeffectslot *slo
for(size_t i{1u};i < slot->WetBuffer.size();++i)
mChans[i].Filter.copyParamsFrom(mChans[0].Filter);
- 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, mChans[i].TargetGains);
+ ComputePanGains(target.Main, coeffs.data(), slot->Params.Gain, mChans[i].TargetGains);
}
}