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 /core/mixer.cpp | |
parent | f9e6fbaeff2761d90bfd572acb52f9acebf5ea7b (diff) |
Use proper array sizes for more gains
Diffstat (limited to 'core/mixer.cpp')
-rw-r--r-- | core/mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mixer.cpp b/core/mixer.cpp index 4618406b..3c98ed5e 100644 --- a/core/mixer.cpp +++ b/core/mixer.cpp @@ -114,7 +114,7 @@ std::array<float,MaxAmbiChannels> CalcAmbiCoeffs(const float y, const float z, c } void ComputePanGains(const MixParams *mix, const float*RESTRICT coeffs, const float ingain, - const al::span<float,MAX_OUTPUT_CHANNELS> gains) + const al::span<float,MaxAmbiChannels> gains) { auto ambimap = mix->AmbiMap.cbegin(); |