aboutsummaryrefslogtreecommitdiffstats
path: root/core/voice.h
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 /core/voice.h
parentf9e6fbaeff2761d90bfd572acb52f9acebf5ea7b (diff)
Use proper array sizes for more gains
Diffstat (limited to 'core/voice.h')
-rw-r--r--core/voice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/voice.h b/core/voice.h
index 42ad7704..9dd642b4 100644
--- a/core/voice.h
+++ b/core/voice.h
@@ -85,8 +85,8 @@ struct SendParams {
BiquadFilter HighPass;
struct {
- std::array<float,MAX_OUTPUT_CHANNELS> Current;
- std::array<float,MAX_OUTPUT_CHANNELS> Target;
+ std::array<float,MaxAmbiChannels> Current;
+ std::array<float,MaxAmbiChannels> Target;
} Gains;
};