aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/autowah.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/effects/autowah.cpp')
-rw-r--r--alc/effects/autowah.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/autowah.cpp b/alc/effects/autowah.cpp
index 50c4a5ad..b5e259f4 100644
--- a/alc/effects/autowah.cpp
+++ b/alc/effects/autowah.cpp
@@ -71,8 +71,8 @@ struct AutowahState final : public EffectState {
} Filter;
/* Effect gains for each output channel */
- float CurrentGains[MAX_OUTPUT_CHANNELS];
- float TargetGains[MAX_OUTPUT_CHANNELS];
+ float CurrentGains[MaxAmbiChannels];
+ float TargetGains[MaxAmbiChannels];
} mChans[MaxAmbiChannels];
/* Effects buffers */