Mercurial > hg > svcore
diff data/model/Labeller.h @ 832:a1bb2989013d
Merge
author | Chris Cannam <chris.cannam@eecs.qmul.ac.uk> |
---|---|
date | Wed, 24 Jul 2013 18:24:55 +0100 |
parents | 2f85f0fbf7ab |
children | 59e7fe1b1003 |
line wrap: on
line diff
--- a/data/model/Labeller.h Wed Jul 24 18:12:57 2013 +0100 +++ b/data/model/Labeller.h Wed Jul 24 18:24:55 2013 +0100 @@ -134,6 +134,12 @@ void setSampleRate(float rate) { m_rate = rate; } + void resetCounters() { + m_counter = 1; + m_counter2 = 1; + m_cycle = 4; + } + void incrementCounter() { m_counter++; if (m_type == ValueFromCyclicalCounter ||