diff options
author | Chris Robinson <[email protected]> | 2020-02-02 16:11:43 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-02-08 15:00:58 -0800 |
commit | 3ee0906c81e3af184c7be5029fdfc5c0b4703179 (patch) | |
tree | e6becaf8e693bbc5967a8dc0bbf7867b3176660c /alc/hrtf.cpp | |
parent | e72a02c5e285670d07b9013c34e02919def4c31d (diff) |
Use std::array and span for the HRTF delays
Diffstat (limited to 'alc/hrtf.cpp')
-rw-r--r-- | alc/hrtf.cpp | 2 |
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())}; |