aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-04-01 01:08:18 -0700
committerChris Robinson <[email protected]>2017-04-01 01:08:18 -0700
commit1ef916a54b56fa07821f4a72699ada55894fdca6 (patch)
tree3a0ee2339dc68358c8c3026a280316b30c144a75
parent5f245d5950ea7fd5938f72720f93ff5c5879eff6 (diff)
Make a pointer restrict and assume aligned
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 710b64be..2cac3ce0 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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; \