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

◆ next_execution()

virtual uint64_t MayaFlux::Vruta::Routine::next_execution ( ) const
inlinepure virtual

Gets the sample position when this routine should next execute.

Returns
Sample position for next execution, or uint64_MAX if inactive

This method is crucial for sample-accurate scheduling. It returns the exact sample position when the coroutine should be resumed next. The scheduler uses this to determine when to call try_resume().

Implemented in MayaFlux::Vruta::SoundRoutine, MayaFlux::Vruta::GraphicsRoutine, and MayaFlux::Vruta::ComplexRoutine.