diff data/model/Labeller.h @ 307:b1a3f7bc035d

* Add Reset Counters... function
author Chris Cannam
date Wed, 10 Oct 2007 10:22:34 +0000
parents 4669894a89ad
children d02f71281639 94fc0591ea43
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; }