aboutsummaryrefslogtreecommitdiffstats
path: root/core/mixer.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/mixer.h
parentf9e6fbaeff2761d90bfd572acb52f9acebf5ea7b (diff)
Use proper array sizes for more gains
Diffstat (limited to 'core/mixer.h')
-rw-r--r--core/mixer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mixer.h b/core/mixer.h
index 309f4224..b819b3c7 100644
--- a/core/mixer.h
+++ b/core/mixer.h
@@ -78,7 +78,7 @@ inline std::array<float,MaxAmbiChannels> CalcAngleCoeffs(const float azimuth,
* scale and orient the sound samples.
*/
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);
/** Helper to set an identity/pass-through panning for ambisonic mixing (3D input). */