diff options
Diffstat (limited to 'alc/effects/vmorpher.cpp')
-rw-r--r-- | alc/effects/vmorpher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/vmorpher.cpp b/alc/effects/vmorpher.cpp index edc50eb1..9834c335 100644 --- a/alc/effects/vmorpher.cpp +++ b/alc/effects/vmorpher.cpp @@ -147,8 +147,8 @@ struct VmorpherState final : public EffectState { FormantFilter Formants[NUM_FILTERS][NUM_FORMANTS]; /* Effect gains for each channel */ - float CurrentGains[MAX_OUTPUT_CHANNELS]{}; - float TargetGains[MAX_OUTPUT_CHANNELS]{}; + float CurrentGains[MaxAmbiChannels]{}; + float TargetGains[MaxAmbiChannels]{}; } mChans[MaxAmbiChannels]; void (*mGetSamples)(float*RESTRICT, uint, const uint, size_t){}; |