summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/mixer_inc.c2
-rw-r--r--OpenAL32/Include/alSource.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/Alc/mixer_inc.c b/Alc/mixer_inc.c
index 3e9d7f46..6ae00d3d 100644
--- a/Alc/mixer_inc.c
+++ b/Alc/mixer_inc.c
@@ -53,7 +53,7 @@ void MERGE4(MixDirect_Hrtf_,SAMPLER,_,SUFFIX)(
ALfloat (*RESTRICT Values)[2] = Source->Hrtf.Values[i];
ALint Counter = maxu(Source->Hrtf.Counter, OutPos) - OutPos;
ALuint Offset = Source->Hrtf.Offset + OutPos;
- ALfloat Coeffs[HRIR_LENGTH][2] ALIGN(16);
+ ALIGN(16) ALfloat Coeffs[HRIR_LENGTH][2];
ALuint Delay[2];
ALfloat left, right;
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index da3e8fab..0d9ac9f1 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -31,16 +31,16 @@ typedef struct ALbufferlistitem
typedef struct HrtfState {
ALboolean Moving;
ALuint Counter;
- ALfloat History[MaxChannels][SRC_HISTORY_LENGTH] ALIGN(16);
- ALfloat Values[MaxChannels][HRIR_LENGTH][2] ALIGN(16);
+ ALIGN(16) ALfloat History[MaxChannels][SRC_HISTORY_LENGTH];
+ ALIGN(16) ALfloat Values[MaxChannels][HRIR_LENGTH][2];
ALuint Offset;
} HrtfState;
typedef struct HrtfParams {
ALfloat Gain;
ALfloat Dir[3];
- ALfloat Coeffs[MaxChannels][HRIR_LENGTH][2] ALIGN(16);
- ALfloat CoeffStep[HRIR_LENGTH][2] ALIGN(16);
+ ALIGN(16) ALfloat Coeffs[MaxChannels][HRIR_LENGTH][2];
+ ALIGN(16) ALfloat CoeffStep[HRIR_LENGTH][2];
ALuint Delay[MaxChannels][2];
ALint DelayStep[2];
} HrtfParams;