aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/hrtf.cpp')
-rw-r--r--alc/hrtf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp
index 47e41df9..ff133f1a 100644
--- a/alc/hrtf.cpp
+++ b/alc/hrtf.cpp
@@ -210,7 +210,7 @@ IdxBlend CalcAzIndex(ALuint azcount, float az)
* and azimuth in radians. The coefficients are normalized.
*/
void GetHrtfCoeffs(const HrtfStore *Hrtf, float elevation, float azimuth, float distance,
- float spread, HrirArray &coeffs, ALuint (&delays)[2])
+ float spread, HrirArray &coeffs, const al::span<ALuint,2> delays)
{
const float dirfact{1.0f - (spread / al::MathDefs<float>::Tau())};