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

Method getSampleStart

hi_scripting/scripting/api/ScriptingApiObjects.cpp:4504–4510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4502}
4503
4504var ScriptingObjects::ScriptingAudioSampleProcessor::getSampleStart()
4505{
4506 if (checkValidObject())
4507 return dynamic_cast<ProcessorWithExternalData*>(audioSampleProcessor.get())->getAudioFile(0)->getCurrentRange().getStart();
4508
4509 return 0;
4510}
4511
4512void ScriptingObjects::ScriptingAudioSampleProcessor::setSampleRange(int start, int end)
4513{

Callers 3

advanceReadIndexMethod · 0.80
renderNextBlockMethod · 0.80

Calls 4

getCurrentRangeMethod · 0.80
getStartMethod · 0.45
getAudioFileMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected