aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-07 16:00:07 -0800
committerChris Robinson <[email protected]>2014-11-07 16:00:07 -0800
commit1a326c758b7b1f4cd05ce9ef4e042dcd22d8ef5d (patch)
tree3786fb156169ba91b604f6aea5a304dcc5fbdef7 /Alc/ALu.c
parent57387505d8ef87f44a04e15b8b1b3c4b546f4103 (diff)
Rename a couple parameters
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 4d056be7..4a5402e7 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1088,14 +1088,14 @@ static inline ALubyte aluF2UB(ALfloat val)
{ return aluF2B(val)+128; }
#define DECL_TEMPLATE(T, func) \
-static void Write_##T(const ALfloatBUFFERSIZE *DryBuffer, ALvoid *buffer, \
+static void Write_##T(const ALfloatBUFFERSIZE *InBuffer, ALvoid *OutBuffer, \
ALuint SamplesToDo, ALuint numchans) \
{ \
ALuint i, j; \
for(j = 0;j < numchans;j++) \
{ \
- const ALfloat *in = DryBuffer[j]; \
- T *restrict out = (T*)buffer + j; \
+ const ALfloat *in = InBuffer[j]; \
+ T *restrict out = (T*)OutBuffer + j; \
for(i = 0;i < SamplesToDo;i++) \
out[i*numchans] = func(in[i]); \
} \