Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
306:4669894a89ad | 307:b1a3f7bc035d |
---|---|
109 m_dp = 1; | 109 m_dp = 1; |
110 while (s > 0) { | 110 while (s > 0) { |
111 s /= 10; | 111 s /= 10; |
112 m_dp *= 10; | 112 m_dp *= 10; |
113 } | 113 } |
114 if (m_counter > m_cycle) m_counter = 1; | |
114 } | 115 } |
115 | 116 |
116 void setSampleRate(float rate) { m_rate = rate; } | 117 void setSampleRate(float rate) { m_rate = rate; } |
117 | 118 |
118 void incrementCounter() { | 119 void incrementCounter() { |