aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/distortion.cpp
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/distortion.cpp
parenta75bc26173252b26ff2a75c5851b5399b025152a (diff)
Rename MAX_AMBI_COEFFS and MAX_AMBI2D_COEFFS
Diffstat (limited to 'Alc/effects/distortion.cpp')
-rw-r--r--Alc/effects/distortion.cpp2
1 files changed, 1 insertions, 1 deletions
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;