diff options
author | Chris Robinson <[email protected]> | 2017-04-01 01:08:18 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-04-01 01:08:18 -0700 |
commit | 1ef916a54b56fa07821f4a72699ada55894fdca6 (patch) | |
tree | 3a0ee2339dc68358c8c3026a280316b30c144a75 | |
parent | 5f245d5950ea7fd5938f72720f93ff5c5879eff6 (diff) |
Make a pointer restrict and assume aligned
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1341,7 +1341,7 @@ static void Write_##T(const ALfloatBUFFERSIZE *InBuffer, ALvoid *OutBuffer, \ ALsizei i, j; \ for(j = 0;j < numchans;j++) \ { \ - const ALfloat *in = InBuffer[j]; \ + const ALfloat *restrict in = ASSUME_ALIGNED(InBuffer[j], 16); \ T *restrict out = (T*)OutBuffer + j; \ const ALfloat gain = distcomp[j].Gain; \ const ALsizei base = distcomp[j].Length; \ |