| 5641 | } |
| 5642 | |
| 5643 | void ScriptingApi::Synth::stopTimer() |
| 5644 | { |
| 5645 | if(jp != nullptr && jp->isDeferred()) |
| 5646 | { |
| 5647 | owner->stopSynthTimer(jp->getIndexInChain()); |
| 5648 | jp->stopTimer(); |
| 5649 | } |
| 5650 | else |
| 5651 | { |
| 5652 | if(parentMidiProcessor != nullptr) owner->stopSynthTimer(parentMidiProcessor->getIndexInChain()); |
| 5653 | |
| 5654 | parentMidiProcessor->setIndexInChain(-1); |
| 5655 | } |
| 5656 | } |
| 5657 | |
| 5658 | bool ScriptingApi::Synth::isTimerRunning() const |
| 5659 | { |
no test coverage detected