|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kriya::BufferPipeline::execute_scheduled_at_rate | ( | uint32_t | max_cycles = 0, |
| double | seconds_per_operation = 1 |
||
| ) |
Execute pipeline with real-time rate control.
| max_cycles | Maximum number of cycles to execute |
| seconds_per_operation | Duration between operations in seconds |
Convenience wrapper around execute_scheduled() that converts time intervals to sample counts based on the scheduler's sample rate. Enables natural specification of timing in seconds rather than samples.
| std::runtime_error | if pipeline has no scheduler |
Example:
Definition at line 171 of file BufferPipeline.cpp.
References MayaFlux::Journal::CoroutineScheduling, execute_scheduled(), MayaFlux::Journal::Kriya, m_scheduler, and MayaFlux::Vruta::TaskScheduler::seconds_to_samples().
Here is the call graph for this function: