MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ current_units()

uint64_t MayaFlux::Vruta::TaskScheduler::current_units ( ProcessingToken  token = ProcessingToken::SAMPLE_ACCURATE) const

Get current processing units for a domain.

Parameters
tokenProcessing domain
Returns
Current position in the domain's timeline

Definition at line 161 of file Scheduler.cpp.

162{
163 const auto& clock = get_clock(token);
164 return clock.current_position();
165}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
const SampleClock & get_clock() const
Gets the primary clock (audio domain for legacy compatibility)

References get_clock(), and token.

Referenced by MayaFlux::Kriya::Timer::schedule().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: