diff options
author | Chris Robinson <[email protected]> | 2013-10-03 05:02:16 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-03 05:02:16 -0700 |
commit | 764ea95781486f86c7be956e84cf97ab893ac07b (patch) | |
tree | a6fc6b17121a2f4cab499b97a59378470fb3cb75 /Alc/effects/flanger.c | |
parent | 99fa5911bc9f427c96fe800f94d31e4942805fd2 (diff) |
Use helpers to set channel gain arrays
Also avoid unnecessary clearing.
Diffstat (limited to 'Alc/effects/flanger.c')
-rw-r--r-- | Alc/effects/flanger.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Alc/effects/flanger.c b/Alc/effects/flanger.c index e9de888a..6b1a84ad 100644 --- a/Alc/effects/flanger.c +++ b/Alc/effects/flanger.c @@ -103,13 +103,6 @@ static ALvoid ALflangerState_update(ALflangerState *state, ALCdevice *Device, co ALfloat frequency = (ALfloat)Device->Frequency; ALfloat rate; ALint phase; - ALuint it; - - for(it = 0;it < MaxChannels;it++) - { - state->Gain[0][it] = 0.0f; - state->Gain[1][it] = 0.0f; - } state->waveform = Slot->EffectProps.Flanger.Waveform; state->depth = Slot->EffectProps.Flanger.Depth; |