From 576adf06b16f6b1c88991970dce06fcabbb04f28 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 28 Nov 2019 09:46:16 -0800 Subject: Store HRIR coefficients using HrirArray --- alc/hrtf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'alc/hrtf.h') diff --git a/alc/hrtf.h b/alc/hrtf.h index d6985142..41bee19a 100644 --- a/alc/hrtf.h +++ b/alc/hrtf.h @@ -23,6 +23,9 @@ #define HRIR_LENGTH (1<; +using HrirArray = std::array; + struct HrtfStore { RefCount mRef; @@ -45,7 +48,7 @@ struct HrtfStore { ALushort irOffset; }; Elevation *elev; - const ALfloat (*coeffs)[2]; + const HrirArray *coeffs; const ALubyte (*delays)[2]; void IncRef(); @@ -55,9 +58,6 @@ struct HrtfStore { }; -using float2 = std::array; -using HrirArray = std::array; - struct HrtfState { alignas(16) std::array History; }; -- cgit v1.2.3