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

◆ requires_clock_sync()

bool MayaFlux::Vruta::SoundRoutine::requires_clock_sync ( ) const
overridevirtual

Check if the routine should synchronize with a clock.

Returns
True if the routine requires clock synchronization

Implements MayaFlux::Vruta::Routine.

Definition at line 104 of file Routine.cpp.

105{
106 if (!m_handle) {
107 return false;
108 }
109 return m_handle.promise().sync_to_clock;
110}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:460

References m_handle.