From d7895db166fe77bbeb360201a65a11f99693a65d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 19 Dec 2017 19:15:34 -0800 Subject: Fix the lfo_offset for a 0-rate flanger --- Alc/effects/flanger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/effects') diff --git a/Alc/effects/flanger.c b/Alc/effects/flanger.c index 45a3e32c..79c83205 100644 --- a/Alc/effects/flanger.c +++ b/Alc/effects/flanger.c @@ -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; -- cgit v1.2.3