diff options
author | Chris Robinson <[email protected]> | 2012-08-15 04:10:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-15 04:10:41 -0700 |
commit | 2cbb565d09425115590ad8845dda2a3e353d74df (patch) | |
tree | 9ed9034a9c449854815b0a07eb0c8b52b2ec8a97 /OpenAL32 | |
parent | 4d157d2849a6cda4fb05eea7ebed91793985b709 (diff) |
Ensure some HRTF-related parameters are aligned
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alSource.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 0fe88e74..da3e8fab 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -31,17 +31,17 @@ typedef struct ALbufferlistitem typedef struct HrtfState { ALboolean Moving; ALuint Counter; - ALfloat History[MaxChannels][SRC_HISTORY_LENGTH]; - ALfloat Values[MaxChannels][HRIR_LENGTH][2]; + ALfloat History[MaxChannels][SRC_HISTORY_LENGTH] ALIGN(16); + ALfloat Values[MaxChannels][HRIR_LENGTH][2] ALIGN(16); ALuint Offset; } HrtfState; typedef struct HrtfParams { ALfloat Gain; ALfloat Dir[3]; - ALfloat Coeffs[MaxChannels][HRIR_LENGTH][2]; + ALfloat Coeffs[MaxChannels][HRIR_LENGTH][2] ALIGN(16); + ALfloat CoeffStep[HRIR_LENGTH][2] ALIGN(16); ALuint Delay[MaxChannels][2]; - ALfloat CoeffStep[HRIR_LENGTH][2]; ALint DelayStep[2]; } HrtfParams; |