Initialise the vintage delay properly... hopefully this time.

(cherry picked from commit c96ff1d680148cc877fab3b641d666068eea06aa)
This commit is contained in:
Krzysztof Foltman
2010-11-06 22:07:17 +00:00
committed by Tobias Doerffel
parent b167f83499
commit 71930a1dbb

View File

@@ -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();
}