diff options
author | Chris Robinson <[email protected]> | 2019-12-30 21:04:10 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-12-30 21:04:10 -0800 |
commit | 8b3a1ed9e44f0e8ed4266eb62f50a6d7d8c4184b (patch) | |
tree | 9cee3d2e44af1e5845ff20be6ff150a648b1ac93 /alc/hrtf.h | |
parent | cfc8a829515034e29f0e12d8233acfc038bae462 (diff) |
Use an array type for the HRIR delay pair
Diffstat (limited to 'alc/hrtf.h')
-rw-r--r-- | alc/hrtf.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(); |