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

◆ DelayContext

enum class MayaFlux::Vruta::DelayContext : uint8_t
strong

Discriminator for different temporal delay mechanisms.

Allows routines to specify which timing mechanism should trigger their resumption, preventing cross-contamination between different temporal domains within the same processing token.

Enumerator
NONE 

No active delay, try resume immediately.

SAMPLE_BASED 

Sample-accurate delay (audio domain)

BUFFER_BASED 

Buffer-cycle delay (audio hardware boundary)

FRAME_BASED 

Frame-rate delay (Graphics domain)

EVENT_BASED 

Event-driven delay (user events, etc.)

AWAIT 

Awaiter-induced delay (temporary suspension)

MULTIPLE 

Armed on both sample and frame clocks; first to arrive resumes (CrossRoutine)

Definition at line 41 of file ProcessingTokens.hpp.

41 : uint8_t {
42 NONE, ///< No active delay, try resume immediately
43 SAMPLE_BASED, ///< Sample-accurate delay (audio domain)
44 BUFFER_BASED, ///< Buffer-cycle delay (audio hardware boundary)
45 FRAME_BASED, ///< Frame-rate delay (Graphics domain)
46 EVENT_BASED, ///< Event-driven delay (user events, etc.)
47 AWAIT, ///< Awaiter-induced delay (temporary suspension)
48 MULTIPLE ///< Armed on both sample and frame clocks; first to arrive resumes (CrossRoutine)
49};
@ MULTIPLE
Armed on both sample and frame clocks; first to arrive resumes (CrossRoutine)
@ FRAME_BASED
Frame-rate delay (Graphics domain)
@ NONE
No active delay, try resume immediately.
@ SAMPLE_BASED
Sample-accurate delay (audio domain)
@ BUFFER_BASED
Buffer-cycle delay (audio hardware boundary)
@ AWAIT
Awaiter-induced delay (temporary suspension)
@ EVENT_BASED
Event-driven delay (user events, etc.)