|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Vruta::TaskScheduler::TaskScheduler | ( | uint32_t | default_sample_rate = 48000, |
| uint32_t | default_frame_rate = 60 |
||
| ) |
Constructs a TaskScheduler with the specified sample rate.
| sample_rate | The number of samples per second (default: 48000) |
Creates a new TaskScheduler with an internal SampleClock initialized to the given sample rate. The sample rate determines the relationship between sample counts and real-time durations for all scheduled tasks.
Definition at line 7 of file Scheduler.cpp.
References ensure_domain(), MayaFlux::Vruta::FRAME_ACCURATE, MayaFlux::Vruta::MULTI_RATE, MayaFlux::Vruta::ON_DEMAND, and MayaFlux::Vruta::SAMPLE_ACCURATE.
Here is the call graph for this function: