| 5656 | } |
| 5657 | |
| 5658 | bool ScriptingApi::Synth::isTimerRunning() const |
| 5659 | { |
| 5660 | |
| 5661 | |
| 5662 | if (jp != nullptr && jp->isDeferred()) |
| 5663 | { |
| 5664 | return jp->isTimerRunning(); |
| 5665 | |
| 5666 | } |
| 5667 | else |
| 5668 | { |
| 5669 | if (parentMidiProcessor != nullptr) |
| 5670 | return owner->getTimerInterval(parentMidiProcessor->getIndexInChain()) != 0.0; |
| 5671 | else return false; |
| 5672 | } |
| 5673 | } |
| 5674 | |
| 5675 | double ScriptingApi::Synth::getTimerInterval() const |
| 5676 | { |
no test coverage detected