diff options
author | Raulshc <[email protected]> | 2018-03-24 13:43:56 +0100 |
---|---|---|
committer | kcat <[email protected]> | 2018-03-24 05:43:56 -0700 |
commit | 6d8062a2a78fdcb2f430874f6fbe2ec6e92bd1a9 (patch) | |
tree | e7637a2d7822a1dfa9b89fcac585550b00d27dc4 /Alc | |
parent | 6990478369e76a55aa27bebceb45db081fe8144e (diff) |
EFX: Align some arrays used in intrinsics (#180)
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/effects/chorus.c | 2 | ||||
-rw-r--r-- | Alc/effects/echo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/chorus.c b/Alc/effects/chorus.c index eb0818e3..3710d936 100644 --- a/Alc/effects/chorus.c +++ b/Alc/effects/chorus.c @@ -227,7 +227,7 @@ static ALvoid ALchorusState_process(ALchorusState *state, ALsizei SamplesToDo, c { const ALsizei todo = mini(256, SamplesToDo-base); ALint moddelays[2][256]; - ALfloat temps[2][256]; + alignas(16) ALfloat temps[2][256]; if(state->waveform == WF_Sinusoid) { diff --git a/Alc/effects/echo.c b/Alc/effects/echo.c index 7d549768..a3a4e120 100644 --- a/Alc/effects/echo.c +++ b/Alc/effects/echo.c @@ -165,7 +165,7 @@ static ALvoid ALechoState_process(ALechoState *state, ALsizei SamplesToDo, const y[1] = state->Filter.y[1]; for(base = 0;base < SamplesToDo;) { - ALfloat temps[2][128]; + alignas(16) ALfloat temps[2][128]; ALsizei td = mini(128, SamplesToDo-base); for(i = 0;i < td;i++) |