From 71930a1dbbf14cf4d14d9728286892032f54fb74 Mon Sep 17 00:00:00 2001 From: Krzysztof Foltman Date: Sat, 6 Nov 2010 22:07:17 +0000 Subject: [PATCH] Initialise the vintage delay properly... hopefully this time. (cherry picked from commit c96ff1d680148cc877fab3b641d666068eea06aa) --- plugins/ladspa_effect/calf/src/modules.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/ladspa_effect/calf/src/modules.cpp b/plugins/ladspa_effect/calf/src/modules.cpp index fdfab11cc..ab2d44e19 100644 --- a/plugins/ladspa_effect/calf/src/modules.cpp +++ b/plugins/ladspa_effect/calf/src/modules.cpp @@ -189,6 +189,7 @@ static inline void delayline_impl(int age, int deltime, float dry_value, const f // if the buffer hasn't been cleared yet (after activation), pretend we've read zeros if (age <= deltime) { out = 0; + del = dry_value; amt.step(); fb.step(); } @@ -206,6 +207,7 @@ static inline void delayline2_impl(int age, int deltime, float dry_value, const { if (age <= deltime) { out = 0; + del = dry_value; amt.step(); fb.step(); }