|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| uint64_t MayaFlux::Vruta::TaskScheduler::seconds_to_samples | ( | double | seconds | ) | const |
Converts a time in seconds to a number of samples.
| seconds | Time duration in seconds |
Convenience method that uses the audio domain's sample rate for conversion. For domain-specific conversions, use seconds_to_units() with the appropriate token.
Definition at line 156 of file Scheduler.cpp.
References get_rate(), MayaFlux::Vruta::SAMPLE_ACCURATE, and MayaFlux::Utils::seconds_to_samples().
Referenced by MayaFlux::Kriya::BufferPipeline::execute_scheduled_at_rate(), MayaFlux::Kriya::metro(), MayaFlux::Kriya::pattern(), MayaFlux::Kriya::Timer::schedule(), MayaFlux::Kriya::sequence(), MayaFlux::Kriya::EventChain::start(), and MayaFlux::Kriya::CycleCoordinator::sync_pipelines_at_rate().
Here is the call graph for this function:
Here is the caller graph for this function: