changeset 307:b1a3f7bc035d

* Add Reset Counters... function
author Chris Cannam
date Wed, 10 Oct 2007 10:22:34 +0000
parents 4669894a89ad
children 14e0f60435b8
files data/model/Labeller.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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; }