MCPcopy Create free account
hub / github.com/christophhart/HISE / isTimerRunning

Method isTimerRunning

hi_scripting/scripting/api/ScriptingApi.cpp:5658–5673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5656}
5657
5658bool 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
5675double ScriptingApi::Synth::getTimerInterval() const
5676{

Callers 1

paintMethod · 0.45

Calls 3

isDeferredMethod · 0.80
getIndexInChainMethod · 0.80
getTimerIntervalMethod · 0.45

Tested by

no test coverage detected