|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kriya::BufferPipeline::mark_data_consumed | ( | uint32_t | operation_index | ) |
Execute pipeline synchronized to audio hardware cycle boundaries.
Creates a coroutine and registers it with the scheduler using the processing hook for timing synchronization. The pipeline will be added to the scheduler at the start of each audio cycle, ensuring buffer operations complete before the buffer manager reads data.
| max_cycles | Maximum number of audio cycles to process (0 = infinite) |
Mark operation data as consumed for cleanup.
| operation_index | Index of the operation in the pipeline |
Manually marks an operation's data state as consumed, allowing it to be cleaned up in the next cleanup cycle. Useful for manual data lifecycle management in custom processing scenarios.
Definition at line 186 of file BufferPipeline.cpp.
References CONSUMED, and m_data_states.