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/echo.cpp | |
parent | f9e6fbaeff2761d90bfd572acb52f9acebf5ea7b (diff) |
Use proper array sizes for more gains
Diffstat (limited to 'alc/effects/echo.cpp')
-rw-r--r-- | alc/effects/echo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/echo.cpp b/alc/effects/echo.cpp index 5d003718..7f9edf82 100644 --- a/alc/effects/echo.cpp +++ b/alc/effects/echo.cpp @@ -60,8 +60,8 @@ struct EchoState final : public EffectState { /* The panning gains for the two taps */ struct { - float Current[MAX_OUTPUT_CHANNELS]{}; - float Target[MAX_OUTPUT_CHANNELS]{}; + float Current[MaxAmbiChannels]{}; + float Target[MaxAmbiChannels]{}; } mGains[2]; BiquadFilter mFilter; |