aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcDedicated.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-10 00:29:47 -0800
committerChris Robinson <[email protected]>2012-02-10 00:29:47 -0800
commit61be01efc197fd2719ad2b3df0cb408d50c7b1ef (patch)
tree9070ab8d84b1e38286b7ff76b4ccf3f350815870 /Alc/alcDedicated.c
parent23bda38be06f87aa58f504012a36bf537d52d342 (diff)
Rename SpeakerGain to ChannelGain
Diffstat (limited to 'Alc/alcDedicated.c')
-rw-r--r--Alc/alcDedicated.c6
1 files changed, 3 insertions, 3 deletions
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;