diff options
author | Chris Robinson <[email protected]> | 2014-04-19 02:11:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-04-19 02:11:04 -0700 |
commit | 59fc9aac0ee41518dba0cbd2f1518decffeaa480 (patch) | |
tree | ac9793a8e3015e595b2f679b82b7f11e4472f717 /Alc/mixer_inc.c | |
parent | 8badd3740e1a2e13affb4553c69ca44b1649035b (diff) |
Use C11 alignas when available
Diffstat (limited to 'Alc/mixer_inc.c')
-rw-r--r-- | Alc/mixer_inc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Alc/mixer_inc.c b/Alc/mixer_inc.c index a2d0a16c..4748f785 100644 --- a/Alc/mixer_inc.c +++ b/Alc/mixer_inc.c @@ -2,8 +2,10 @@ #include "alMain.h" #include "alSource.h" + #include "hrtf.h" #include "mixer_defs.h" +#include "align.h" #define REAL_MERGE2(a,b) a##b @@ -36,7 +38,7 @@ void MixDirect_Hrtf(DirectParams *params, const ALfloat *restrict data, ALuint s ALfloat (*restrict Values)[2] = params->Mix.Hrtf.State.Values[srcchan]; ALuint Counter = maxu(params->Counter, OutPos) - OutPos; ALuint Offset = params->Offset + OutPos; - ALIGN(16) ALfloat Coeffs[HRIR_LENGTH][2]; + alignas(16) ALfloat Coeffs[HRIR_LENGTH][2]; ALuint Delay[2]; ALfloat left, right; ALuint pos; |