aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-12-19 19:15:34 -0800
committerChris Robinson <[email protected]>2017-12-19 19:15:34 -0800
commitd7895db166fe77bbeb360201a65a11f99693a65d (patch)
tree13ed826a8be2e343ab7d71c5b8ac9957da720413 /Alc/effects
parent0f84e3252089701e74722272738cc02c2de56f4e (diff)
Fix the lfo_offset for a 0-rate flanger
Diffstat (limited to 'Alc/effects')
-rw-r--r--Alc/effects/flanger.c2
1 files changed, 1 insertions, 1 deletions
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;