| 4528 | } |
| 4529 | |
| 4530 | int ScriptingObjects::ScriptingAudioSampleProcessor::getSampleLength() const |
| 4531 | { |
| 4532 | if (checkValidObject()) |
| 4533 | { |
| 4534 | return dynamic_cast<ProcessorWithExternalData*>(audioSampleProcessor.get())->getAudioFile(0)->getCurrentRange().getLength(); |
| 4535 | } |
| 4536 | else return 0; |
| 4537 | } |
| 4538 | |
| 4539 | // ScriptingTableProcessor ============================================================================================================== |
| 4540 |
no test coverage detected