diff options
author | Chris Robinson <[email protected]> | 2012-08-29 01:40:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-29 01:40:42 -0700 |
commit | 332d66c18301b913d46e22fd24c3d4782bea1568 (patch) | |
tree | 2304a8a4880627b13afbbcd3989c6d8b2e8f237a /OpenAL32/Include/alMain.h | |
parent | de006947ac07585ff9688d87465c3034c8aed845 (diff) |
Make sure device buffers are 16-byte aligned
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 69b4a29f..b87d3526 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -611,17 +611,17 @@ struct ALCdevice_struct // Device flags ALuint Flags; - // Dry path buffer mix - ALfloat DryBuffer[BUFFERSIZE][MaxChannels]; - enum Channel DevChannels[MaxChannels]; enum Channel Speaker2Chan[MaxChannels]; ALfloat SpeakerAngle[MaxChannels]; ALuint NumChan; - ALfloat ClickRemoval[MaxChannels]; - ALfloat PendingClicks[MaxChannels]; + // Dry path buffer mix + ALIGN(16) ALfloat DryBuffer[BUFFERSIZE][MaxChannels]; + + ALIGN(16) ALfloat ClickRemoval[MaxChannels]; + ALIGN(16) ALfloat PendingClicks[MaxChannels]; /* Default effect slot */ struct ALeffectslot *DefaultSlot; |