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

Method getTimerInterval

hi_scripting/scripting/api/ScriptingApi.cpp:5675–5689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5673}
5674
5675double ScriptingApi::Synth::getTimerInterval() const
5676{
5677
5678
5679 if (jp != nullptr && jp->isDeferred())
5680 {
5681 return (double)jp->getTimerInterval() / 1000.0;
5682 }
5683 else
5684 {
5685 if (parentMidiProcessor != nullptr)
5686 return owner->getTimerInterval(parentMidiProcessor->getIndexInChain());
5687 else return 0.0;
5688 }
5689}
5690
5691void ScriptingApi::Synth::sendController(int controllerNumber, int controllerValue)
5692{

Callers 1

isTimerRunningMethod · 0.45

Calls 2

isDeferredMethod · 0.80
getIndexInChainMethod · 0.80

Tested by

no test coverage detected