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

Method getSampleRate

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

Source from the content-addressed store, hash-verified

1594}
1595
1596double ScriptingApi::Engine::getSampleRate() const { return const_cast<MainController*>(getProcessor()->getMainController())->getMainSynthChain()->getSampleRate(); }
1597
1598int ScriptingApi::Engine::getBufferSize() const { return getProcessor()->getLargestBlockSize(); }
1599

Callers 9

registerCallbacksMethod · 0.45
handleHiseEventMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45
setNetworkMethod · 0.45
onInitMethod · 0.45
onNoteOnMethod · 0.45
addVolumeFadeMethod · 0.45

Calls 3

getProcessorFunction · 0.85
getMainSynthChainMethod · 0.45
getMainControllerMethod · 0.45

Tested by

no test coverage detected