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

◆ on_container_state_change()

void MayaFlux::Buffers::SoundStreamReader::on_container_state_change ( const std::shared_ptr< Kakshya::SignalSourceContainer > &  container,
Kakshya::ProcessingState  state 
)
private

Respond to container state changes (e.g., READY, PROCESSED, NEEDS_REMOVAL).

Updates buffer state flags as needed.

Parameters
containerThe container whose state changed.
stateThe new processing state.

Definition at line 215 of file SoundContainerBuffer.cpp.

218{
219 switch (state) {
221 break;
222
225 "SoundStreamReader: Container entered ERROR state");
226 break;
227
228 default:
229 break;
230 }
231}
#define MF_ERROR(comp, ctx,...)
@ BufferProcessing
Buffer processing (Buffers::BufferManager, processing chains)
@ Buffers
Buffers, Managers, processors and processing chains.
@ NEEDS_REMOVAL
Container is marked for removal from the system.
@ ERROR
Container is in an error state and cannot proceed.

References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Kakshya::ERROR, MF_ERROR, and MayaFlux::Kakshya::NEEDS_REMOVAL.

Referenced by set_container(), and SoundStreamReader().

+ Here is the caller graph for this function: