|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
overridevirtual |
Attempts to resume the coroutine with explicit temporal context.
| current_value | Current position in the timeline (samples, frames, cycles, etc.) |
| context | The temporal context being processed |
This context-aware resume method allows different temporal mechanisms to coexist within the same processing token. For example, both sample-based and buffer-cycle-based delays can use SAMPLE_ACCURATE token without interfering with each other.
The default implementation delegates to try_resume(uint64_t) for backward compatibility. Derived classes can override to implement context-specific resumption logic.
Reimplemented from MayaFlux::Vruta::Routine.
Definition at line 112 of file Routine.cpp.
References MayaFlux::Vruta::AWAIT, MayaFlux::Vruta::BUFFER_BASED, initialize_state(), is_active(), m_handle, MayaFlux::Vruta::NONE, and MayaFlux::Vruta::SAMPLE_BASED.
Referenced by try_resume().
Here is the call graph for this function:
Here is the caller graph for this function: