# HG changeset patch # User Chris Cannam # Date 1192011754 0 # Node ID b1a3f7bc035d770f4ab30d2888d111e62210afc4 # Parent 4669894a89ad428640063d2ff315de5ad0dc9cfd * Add Reset Counters... function diff -r 4669894a89ad -r b1a3f7bc035d data/model/Labeller.h --- a/data/model/Labeller.h Tue Oct 09 16:21:10 2007 +0000 +++ b/data/model/Labeller.h Wed Oct 10 10:22:34 2007 +0000 @@ -111,6 +111,7 @@ s /= 10; m_dp *= 10; } + if (m_counter > m_cycle) m_counter = 1; } void setSampleRate(float rate) { m_rate = rate; }