aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-10-01 22:50:28 -0700
committerChris Robinson <[email protected]>2019-10-01 22:50:28 -0700
commit2980adb8c0d28486da1229b182bc9c78ae5b1879 (patch)
tree9c142b377ab0c159d7554c45aeacc323691f261b /alc
parent69eb685dbce703cd95343ebe323c3d29390e4938 (diff)
Make sure the temporary HRIRs are properly aligned
Diffstat (limited to 'alc')
-rw-r--r--alc/hrtf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp
index 85b75e07..b23f9d6f 100644
--- a/alc/hrtf.cpp
+++ b/alc/hrtf.cpp
@@ -296,7 +296,7 @@ void BuildBFormatHrtf(const HrtfEntry *Hrtf, DirectHrtfState *state,
{
using double2 = std::array<double,2>;
struct ImpulseResponse {
- std::array<double2,HRIR_LENGTH> hrir;
+ alignas(16) std::array<double2,HRIR_LENGTH> hrir;
ALuint ldelay, rdelay;
};