aboutsummaryrefslogtreecommitdiff
path: root/sc4pd/source/Decay2.cpp
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2004-08-02 21:13:50 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:11:56 +0200
commit78431322cc77b9654fa4a2e2b1b42a9310cb9141 (patch)
treebaabc265e33cb6a62a200d227b0983b52b3ed882 /sc4pd/source/Decay2.cpp
parent1bf32780fe1281eda6deb51f661f2f234a16fd1f (diff)
lag
svn path=/trunk/externals/tb/; revision=1905
Diffstat (limited to 'sc4pd/source/Decay2.cpp')
-rw-r--r--sc4pd/source/Decay2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc4pd/source/Decay2.cpp b/sc4pd/source/Decay2.cpp
index 557f057..001eb31 100644
--- a/sc4pd/source/Decay2.cpp
+++ b/sc4pd/source/Decay2.cpp
@@ -146,6 +146,7 @@ void Decay2_ar::m_dsp(int n, t_sample *const *in, t_sample *const *out)
(m_decayTime * Samplerate()));
m_b1b = m_attackTime == 0.f ? 0.f : exp(log001 /
(m_attackTime * Samplerate()));
+ changed = false;
}
/* todo: does it make sense to implement a message-based Decay2?