aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/fshifter.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-08-15 12:56:36 -0700
committerChris Robinson <[email protected]>2022-08-15 12:56:36 -0700
commit82c5b741e5c7448eb2649e33505622e42e08794e (patch)
tree70113c84ceb57c68b58bc02d99f372f223bda26b /alc/effects/fshifter.cpp
parentf9e6fbaeff2761d90bfd572acb52f9acebf5ea7b (diff)
Use proper array sizes for more gains
Diffstat (limited to 'alc/effects/fshifter.cpp')
-rw-r--r--alc/effects/fshifter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/fshifter.cpp b/alc/effects/fshifter.cpp
index def745c4..bed6c79f 100644
--- a/alc/effects/fshifter.cpp
+++ b/alc/effects/fshifter.cpp
@@ -89,8 +89,8 @@ struct FshifterState final : public EffectState {
/* Effect gains for each output channel */
struct {
- float Current[MAX_OUTPUT_CHANNELS]{};
- float Target[MAX_OUTPUT_CHANNELS]{};
+ float Current[MaxAmbiChannels]{};
+ float Target[MaxAmbiChannels]{};
} mGains[2];