aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-12-30 21:04:10 -0800
committerChris Robinson <[email protected]>2019-12-30 21:04:10 -0800
commit8b3a1ed9e44f0e8ed4266eb62f50a6d7d8c4184b (patch)
tree9cee3d2e44af1e5845ff20be6ff150a648b1ac93 /alc/hrtf.h
parentcfc8a829515034e29f0e12d8233acfc038bae462 (diff)
Use an array type for the HRIR delay pair
Diffstat (limited to 'alc/hrtf.h')
-rw-r--r--alc/hrtf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/hrtf.h b/alc/hrtf.h
index 89a54c1f..0762ee7d 100644
--- a/alc/hrtf.h
+++ b/alc/hrtf.h
@@ -27,6 +27,7 @@
using float2 = std::array<float,2>;
using HrirArray = std::array<float2,HRIR_LENGTH>;
+using ubyte2 = std::array<ALubyte,2>;
struct HrtfStore {
@@ -51,7 +52,7 @@ struct HrtfStore {
};
Elevation *elev;
const HrirArray *coeffs;
- const ALubyte (*delays)[2];
+ const ubyte2 *delays;
void IncRef();
void DecRef();