aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-06 00:33:58 -0700
committerChris Robinson <[email protected]>2011-05-06 00:33:58 -0700
commit9967d4eadded7cfc0c8424d6ffd756b85ba6f4ef (patch)
tree6f22f8629fcf27d42aac5cd73cd46623b8bf838d /Alc
parent2972de1047b36d3f31c2e85f6e29b7b52682878f (diff)
Mark a couple more pointers as restricted
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index b4a23f98..5657da22 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -910,9 +910,10 @@ static const Channel X71Chans[] = { FRONT_LEFT, FRONT_RIGHT,
SIDE_LEFT, SIDE_RIGHT };
#define DECL_TEMPLATE(T, chans,N, func) \
-static void Write_##T##_##chans(ALCdevice *device, T *buffer, ALuint SamplesToDo)\
+static void Write_##T##_##chans(ALCdevice *device, T *RESTRICT buffer, \
+ ALuint SamplesToDo) \
{ \
- ALfloat (*DryBuffer)[MAXCHANNELS] = device->DryBuffer; \
+ ALfloat (*RESTRICT DryBuffer)[MAXCHANNELS] = device->DryBuffer; \
const ALuint *ChanMap = device->DevChannels; \
ALuint i, j; \
\