From 61be01efc197fd2719ad2b3df0cb408d50c7b1ef Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 10 Feb 2012 00:29:47 -0800 Subject: Rename SpeakerGain to ChannelGain --- Alc/alcDedicated.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc/alcDedicated.c') diff --git a/Alc/alcDedicated.c b/Alc/alcDedicated.c index a371bb20..2f9e3dcc 100644 --- a/Alc/alcDedicated.c +++ b/Alc/alcDedicated.c @@ -54,7 +54,7 @@ static ALvoid DedicatedUpdate(ALeffectState *effect, ALCcontext *Context, const { ALdedicatedState *state = (ALdedicatedState*)effect; ALCdevice *device = Context->Device; - const ALfloat *SpeakerGain; + const ALfloat *ChannelGain; ALfloat Gain; ALint pos; ALsizei s; @@ -66,10 +66,10 @@ static ALvoid DedicatedUpdate(ALeffectState *effect, ALCcontext *Context, const if(Slot->effect.type == AL_EFFECT_DEDICATED_DIALOGUE) { pos = aluCart2LUTpos(1.0f, 0.0f); - SpeakerGain = device->PanningLUT[pos]; + ChannelGain = device->PanningLUT[pos]; for(s = 0;s < MAXCHANNELS;s++) - state->gains[s] = SpeakerGain[s] * Gain; + state->gains[s] = ChannelGain[s] * Gain; } else if(Slot->effect.type == AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT) state->gains[LFE] = Gain; -- cgit v1.2.3