aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-02-19 15:39:33 -0800
committerChris Robinson <[email protected]>2019-02-19 15:39:33 -0800
commit194fcb6bb7d81c5a82c9437c7ed7dfdb7da0a3e1 (patch)
tree89c0319608082ae1f676655d3169b9ca44a335e9 /Alc/effects
parenta75bc26173252b26ff2a75c5851b5399b025152a (diff)
Rename MAX_AMBI_COEFFS and MAX_AMBI2D_COEFFS
Diffstat (limited to 'Alc/effects')
-rw-r--r--Alc/effects/chorus.cpp2
-rw-r--r--Alc/effects/dedicated.cpp2
-rw-r--r--Alc/effects/distortion.cpp2
-rw-r--r--Alc/effects/echo.cpp2
-rw-r--r--Alc/effects/fshifter.cpp2
-rw-r--r--Alc/effects/pshifter.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/Alc/effects/chorus.cpp b/Alc/effects/chorus.cpp
index 05216059..6b3053a4 100644
--- a/Alc/effects/chorus.cpp
+++ b/Alc/effects/chorus.cpp
@@ -146,7 +146,7 @@ void ChorusState::update(const ALCcontext *Context, const ALeffectslot *Slot, co
mFeedback = props->Chorus.Feedback;
/* Gains for left and right sides */
- ALfloat coeffs[2][MAX_AMBI_COEFFS];
+ ALfloat coeffs[2][MAX_AMBI_CHANNELS];
CalcAngleCoeffs(al::MathDefs<float>::Pi()*-0.5f, 0.0f, 0.0f, coeffs[0]);
CalcAngleCoeffs(al::MathDefs<float>::Pi()* 0.5f, 0.0f, 0.0f, coeffs[1]);
diff --git a/Alc/effects/dedicated.cpp b/Alc/effects/dedicated.cpp
index 64b24e9d..1804895a 100644
--- a/Alc/effects/dedicated.cpp
+++ b/Alc/effects/dedicated.cpp
@@ -78,7 +78,7 @@ void ALdedicatedState::update(const ALCcontext* UNUSED(context), const ALeffects
}
else
{
- ALfloat coeffs[MAX_AMBI_COEFFS];
+ ALfloat coeffs[MAX_AMBI_CHANNELS];
CalcAngleCoeffs(0.0f, 0.0f, 0.0f, coeffs);
mOutBuffer = target.Main->Buffer;
diff --git a/Alc/effects/distortion.cpp b/Alc/effects/distortion.cpp
index 12eb12fb..72ce7062 100644
--- a/Alc/effects/distortion.cpp
+++ b/Alc/effects/distortion.cpp
@@ -87,7 +87,7 @@ void ALdistortionState::update(const ALCcontext *context, const ALeffectslot *sl
calc_rcpQ_from_bandwidth(cutoff / (frequency*4.0f), bandwidth)
);
- ALfloat coeffs[MAX_AMBI_COEFFS];
+ ALfloat coeffs[MAX_AMBI_CHANNELS];
CalcAngleCoeffs(0.0f, 0.0f, 0.0f, coeffs);
mOutBuffer = target.Main->Buffer;
diff --git a/Alc/effects/echo.cpp b/Alc/effects/echo.cpp
index 197e9686..ad368b5b 100644
--- a/Alc/effects/echo.cpp
+++ b/Alc/effects/echo.cpp
@@ -115,7 +115,7 @@ void ALechoState::update(const ALCcontext *context, const ALeffectslot *slot, co
calc_rcpQ_from_slope(gainhf, 1.0f)
);
- ALfloat coeffs[2][MAX_AMBI_COEFFS];
+ ALfloat coeffs[2][MAX_AMBI_CHANNELS];
CalcAngleCoeffs(al::MathDefs<float>::Pi()*-0.5f*lrpan, 0.0f, spread, coeffs[0]);
CalcAngleCoeffs(al::MathDefs<float>::Pi()* 0.5f*lrpan, 0.0f, spread, coeffs[1]);
diff --git a/Alc/effects/fshifter.cpp b/Alc/effects/fshifter.cpp
index 55ff4247..5c808a4b 100644
--- a/Alc/effects/fshifter.cpp
+++ b/Alc/effects/fshifter.cpp
@@ -130,7 +130,7 @@ void ALfshifterState::update(const ALCcontext *context, const ALeffectslot *slot
break;
}
- ALfloat coeffs[MAX_AMBI_COEFFS];
+ ALfloat coeffs[MAX_AMBI_CHANNELS];
CalcAngleCoeffs(0.0f, 0.0f, 0.0f, coeffs);
mOutBuffer = target.Main->Buffer;
diff --git a/Alc/effects/pshifter.cpp b/Alc/effects/pshifter.cpp
index 9fe5f867..31d40abc 100644
--- a/Alc/effects/pshifter.cpp
+++ b/Alc/effects/pshifter.cpp
@@ -181,7 +181,7 @@ void ALpshifterState::update(const ALCcontext* UNUSED(context), const ALeffectsl
mPitchShiftI = fastf2i(pitch*FRACTIONONE);
mPitchShift = mPitchShiftI * (1.0f/FRACTIONONE);
- ALfloat coeffs[MAX_AMBI_COEFFS];
+ ALfloat coeffs[MAX_AMBI_CHANNELS];
CalcAngleCoeffs(0.0f, 0.0f, 0.0f, coeffs);
mOutBuffer = target.Main->Buffer;