|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API uint64_t MayaFlux::seconds_to_blocks | ( | double | seconds | ) |
Converts a time duration in seconds to the equivalent number of processing blocks.
| seconds | Time duration in seconds |
Uses the sample rate and block size from the default engine. Falls back to 48kHz/512 samples if engine is not running.
Definition at line 253 of file Chronie.cpp.
References MayaFlux::Core::GlobalStreamInfo::buffer_size, get_context(), MayaFlux::Core::Engine::get_stream_info(), MayaFlux::Core::GlobalStreamInfo::sample_rate, and MayaFlux::Vruta::seconds_to_blocks().
Referenced by route_buffer().
Here is the call graph for this function:
Here is the caller graph for this function: