aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-08-16 10:42:48 -0700
committerChris Robinson <[email protected]>2012-08-16 10:42:48 -0700
commit9737f683150180a5531d276959030ffa0bd35492 (patch)
treedf3ff01ead6984516453061fafa53881b6912745 /OpenAL32
parent2a8c26e390bb60e283e8371b8a79819cf26716ad (diff)
Place the alignment attribute before the variable declaration
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alSource.h8
1 files changed, 4 insertions, 4 deletions
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;