From 9737f683150180a5531d276959030ffa0bd35492 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 16 Aug 2012 10:42:48 -0700 Subject: Place the alignment attribute before the variable declaration --- OpenAL32/Include/alSource.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenAL32/Include/alSource.h') 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; -- cgit v1.2.3