Fix the lfo_offset for a 0-rate flanger

This commit is contained in:
Chris Robinson
2017-12-19 19:15:34 -08:00
parent 0f84e32520
commit d7895db166
+1 -1
View File
@@ -154,7 +154,7 @@ static ALvoid ALflangerState_update(ALflangerState *state, const ALCcontext *con
rate = props->Flanger.Rate;
if(!(rate > 0.0f))
{
state->lfo_offset = 1;
state->lfo_offset = 0;
state->lfo_range = 1;
state->lfo_scale = 0.0f;
state->lfo_disp = 0;