diff options
author | Chris Robinson <[email protected]> | 2010-12-01 18:33:17 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-12-01 18:33:17 -0800 |
commit | 9e8fb89a525c11685869d963c39e4f1076835d85 (patch) | |
tree | 5fdb70d80718e1ba7632e1b98fbb2fb4ffa0e883 /Alc/mixer.c | |
parent | 14441e0e5377884100ed0d3ae3bb753632b896ae (diff) |
Rename OUTPUTCHANNELS to something more descriptive
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index 9f19d5df..be1e2268 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -68,10 +68,10 @@ static void Mix_##T##_Mono_##sampler(ALsource *Source, ALCdevice *Device, \ const T *data, ALuint *DataPosInt, ALuint *DataPosFrac, \ ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) \ { \ - ALfloat (*DryBuffer)[OUTPUTCHANNELS]; \ + ALfloat (*DryBuffer)[MAXCHANNELS]; \ ALfloat *ClickRemoval, *PendingClicks; \ ALuint pos, frac; \ - ALfloat DrySend[OUTPUTCHANNELS]; \ + ALfloat DrySend[MAXCHANNELS]; \ FILTER *DryFilter; \ ALuint BufferIdx; \ ALuint increment; \ @@ -84,7 +84,7 @@ static void Mix_##T##_Mono_##sampler(ALsource *Source, ALCdevice *Device, \ ClickRemoval = Device->ClickRemoval; \ PendingClicks = Device->PendingClicks; \ DryFilter = &Source->Params.iirFilter; \ - for(i = 0;i < OUTPUTCHANNELS;i++) \ + for(i = 0;i < MAXCHANNELS;i++) \ DrySend[i] = Source->Params.DryGains[i]; \ \ pos = 0; \ @@ -222,10 +222,10 @@ static void Mix_##T##_Stereo_##sampler(ALsource *Source, ALCdevice *Device, \ BACK_LEFT, BACK_RIGHT \ }; \ const ALfloat scaler = 1.0f/Channels; \ - ALfloat (*DryBuffer)[OUTPUTCHANNELS]; \ + ALfloat (*DryBuffer)[MAXCHANNELS]; \ ALfloat *ClickRemoval, *PendingClicks; \ ALuint pos, frac; \ - ALfloat DrySend[OUTPUTCHANNELS]; \ + ALfloat DrySend[MAXCHANNELS]; \ FILTER *DryFilter; \ ALuint BufferIdx; \ ALuint increment; \ @@ -238,7 +238,7 @@ static void Mix_##T##_Stereo_##sampler(ALsource *Source, ALCdevice *Device, \ ClickRemoval = Device->ClickRemoval; \ PendingClicks = Device->PendingClicks; \ DryFilter = &Source->Params.iirFilter; \ - for(i = 0;i < OUTPUTCHANNELS;i++) \ + for(i = 0;i < MAXCHANNELS;i++) \ DrySend[i] = Source->Params.DryGains[i]; \ \ pos = 0; \ @@ -370,10 +370,10 @@ static void Mix_##T##_##chans##_##sampler(ALsource *Source, ALCdevice *Device,\ { \ static const ALuint Channels = sizeof(chans)/sizeof(chans[0]); \ const ALfloat scaler = 1.0f/Channels; \ - ALfloat (*DryBuffer)[OUTPUTCHANNELS]; \ + ALfloat (*DryBuffer)[MAXCHANNELS]; \ ALfloat *ClickRemoval, *PendingClicks; \ ALuint pos, frac; \ - ALfloat DrySend[OUTPUTCHANNELS]; \ + ALfloat DrySend[MAXCHANNELS]; \ FILTER *DryFilter; \ ALuint BufferIdx; \ ALuint increment; \ @@ -386,7 +386,7 @@ static void Mix_##T##_##chans##_##sampler(ALsource *Source, ALCdevice *Device,\ ClickRemoval = Device->ClickRemoval; \ PendingClicks = Device->PendingClicks; \ DryFilter = &Source->Params.iirFilter; \ - for(i = 0;i < OUTPUTCHANNELS;i++) \ + for(i = 0;i < MAXCHANNELS;i++) \ DrySend[i] = Source->Params.DryGains[i]; \ \ pos = 0; \ |