| 24 | } |
| 25 | |
| 26 | void JASLfo::incCounter(f32 x) { |
| 27 | if (mCounter != 0) { |
| 28 | mCounter -= 1; |
| 29 | return; |
| 30 | } |
| 31 | |
| 32 | _8 += x * (mPitch * 0.013888889f); // ~(1/72) |
| 33 | if (_8 >= 1.0f) { |
| 34 | _8 -= 1.0f; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | void JASLfo::resetCounter() { |
| 39 | mCounter = mDelay; |
no outgoing calls
no test coverage detected