diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/mixer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index af50c72e..e777dd15 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -192,17 +192,17 @@ DECL_TEMPLATE(ALubyte, cubic8) #undef DECL_TEMPLATE -#define DECL_TEMPLATE(T, count, sampler) \ -static void Mix_##T##_##count##_##sampler(ALsource *Source, ALCdevice *Device,\ +#define DECL_TEMPLATE(T, chnct, sampler) \ +static void Mix_##T##_##chnct##_##sampler(ALsource *Source, ALCdevice *Device,\ const T *data, ALuint *DataPosInt, ALuint *DataPosFrac, \ ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) \ { \ - const ALuint Channels = count; \ - const ALfloat scaler = 1.0f/Channels; \ + const ALuint Channels = chnct; \ + const ALfloat scaler = 1.0f/chnct; \ ALfloat (*DryBuffer)[MAXCHANNELS]; \ ALfloat *ClickRemoval, *PendingClicks; \ ALuint pos, frac; \ - ALfloat DrySend[Channels][MAXCHANNELS]; \ + ALfloat DrySend[chnct][MAXCHANNELS]; \ FILTER *DryFilter; \ ALuint BufferIdx; \ ALuint increment; \ |