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

◆ try_resume()

bool MayaFlux::Vruta::SoundRoutine::try_resume ( uint64_t  current_context)
overridevirtual

Attempts to resume the coroutine if it's ready to execute.

Parameters
current_sampleCurrent sample position in the timeline
Returns
True if the coroutine was resumed, false otherwise

This method checks if the current sample position has reached or passed the coroutine's next execution time. If so, it resumes the coroutine, allowing it to execute until its next suspension point or completion.

Implements MayaFlux::Vruta::Routine.

Definition at line 173 of file Routine.cpp.

174{
176}
bool try_resume_with_context(uint64_t current_value, DelayContext context) override
Attempts to resume the coroutine with explicit temporal context.
Definition Routine.cpp:112
@ SAMPLE_BASED
Sample-accurate delay (audio domain)

References MayaFlux::Vruta::SAMPLE_BASED, and try_resume_with_context().

+ Here is the call graph for this function: