diff options
author | Chris Robinson <[email protected]> | 2011-07-02 21:33:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-02 21:33:53 -0700 |
commit | ac7ca07221c0a5c06b2502baa21ea94e5b65395c (patch) | |
tree | 8d5b7d67077d26c397342f814c897e0811240750 /Alc/alcReverb.c | |
parent | b043390ec2ad465acc12b98acdb51909bdfdd667 (diff) |
Get rid of a couple typedefs
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r-- | Alc/alcReverb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c index 20638710..f2a09299 100644 --- a/Alc/alcReverb.c +++ b/Alc/alcReverb.c @@ -634,7 +634,7 @@ static ALvoid Update3DPanning(const ALCdevice *Device, const ALfloat *Reflection State->Early.PanGain[index] = 0.0f; for(index = 0;index < Device->NumChan;index++) { - Channel chan = Device->Speaker2Chan[index]; + enum Channel chan = Device->Speaker2Chan[index]; State->Early.PanGain[chan] = lerp(1.0, speakerGain[chan], dirGain); } @@ -647,7 +647,7 @@ static ALvoid Update3DPanning(const ALCdevice *Device, const ALfloat *Reflection State->Late.PanGain[index] = 0.0f; for(index = 0;index < Device->NumChan;index++) { - Channel chan = Device->Speaker2Chan[index]; + enum Channel chan = Device->Speaker2Chan[index]; State->Late.PanGain[chan] = lerp(1.0, speakerGain[chan], dirGain); } } @@ -1018,7 +1018,7 @@ static ALboolean VerbDeviceUpdate(ALeffectState *effect, ALCdevice *Device) State->Gain[index] = 0.0f; for(index = 0;index < Device->NumChan;index++) { - Channel chan = Device->Speaker2Chan[index]; + enum Channel chan = Device->Speaker2Chan[index]; State->Gain[chan] = 1.0f; } |