aboutsummaryrefslogtreecommitdiffstats
path: root/core/device.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-08-14 10:07:32 -0700
committerChris Robinson <[email protected]>2022-08-14 10:07:32 -0700
commitfbfa8a2686bab1e42bc7829fd866667fe7fd2283 (patch)
tree94d7cbb0f5fe601f612214ef43d5a4987cd2350d /core/device.h
parent4f346caea37b112d07e2c22a178c0bdc141c7d01 (diff)
Use the right array size for the mixing parameters
Diffstat (limited to 'core/device.h')
-rw-r--r--core/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/device.h b/core/device.h
index bf995e5b..feb8f0b8 100644
--- a/core/device.h
+++ b/core/device.h
@@ -102,7 +102,7 @@ struct BFChannelConfig {
struct MixParams {
/* Coefficient channel mapping for mixing to the buffer. */
- std::array<BFChannelConfig,MAX_OUTPUT_CHANNELS> AmbiMap{};
+ std::array<BFChannelConfig,MaxAmbiChannels> AmbiMap{};
al::span<FloatBufferLine> Buffer;
};