MayaFlux 0.3.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 213 of file SoundContainerBuffer.cpp.

216{
217 switch (state) {
219 break;
220
223 "SoundStreamReader: Container entered ERROR state");
224 break;
225
226 default:
227 break;
228 }
229}
#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: