From bfee94dfec64dd22ad8d985e71803fbe411f7a1a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 15 Oct 2023 02:38:20 -0700 Subject: Use a span for a known array length instead of a raw pointer --- core/mixer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/mixer.h') diff --git a/core/mixer.h b/core/mixer.h index a9c1f931..9062ebac 100644 --- a/core/mixer.h +++ b/core/mixer.h @@ -103,7 +103,7 @@ inline std::array CalcAngleCoeffs(const float azimuth, * coeffs are a 'slice' of a transform matrix for the input channel, used to * scale and orient the sound samples. */ -void ComputePanGains(const MixParams *mix, const float*RESTRICT coeffs, const float ingain, - const al::span gains); +void ComputePanGains(const MixParams *mix, const al::span coeffs, + const float ingain, const al::span gains); #endif /* CORE_MIXER_H */ -- cgit v1.2.3