diff options
author | Chris Robinson <[email protected]> | 2022-08-15 12:56:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-08-15 12:56:36 -0700 |
commit | 82c5b741e5c7448eb2649e33505622e42e08794e (patch) | |
tree | 70113c84ceb57c68b58bc02d99f372f223bda26b /alc/effects/modulator.cpp | |
parent | f9e6fbaeff2761d90bfd572acb52f9acebf5ea7b (diff) |
Use proper array sizes for more gains
Diffstat (limited to 'alc/effects/modulator.cpp')
-rw-r--r-- | alc/effects/modulator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/modulator.cpp b/alc/effects/modulator.cpp index 84561f5c..c854f1e9 100644 --- a/alc/effects/modulator.cpp +++ b/alc/effects/modulator.cpp @@ -86,8 +86,8 @@ struct ModulatorState final : public EffectState { struct { BiquadFilter Filter; - float CurrentGains[MAX_OUTPUT_CHANNELS]{}; - float TargetGains[MAX_OUTPUT_CHANNELS]{}; + float CurrentGains[MaxAmbiChannels]{}; + float TargetGains[MaxAmbiChannels]{}; } mChans[MaxAmbiChannels]; |