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

◆ needs_removal()

virtual bool MayaFlux::Buffers::AudioBuffer::needs_removal ( ) const
inlineoverridevirtual

Checks if the buffer should be removed from the processing chain This is relevant when using SignalSourceContainers.

Standard audio buffers will always return false unless specified otherwise by their derived class implementations.

Returns
True if the buffer should be removed, false otherwise

This method enables dynamic audio buffer lifecycle management. Standard audio buffers typically return false unless explicitly marked for removal, but derived classes may implement automatic removal based on streaming end conditions or resource management policies.

Implements MayaFlux::Buffers::Buffer.

Definition at line 233 of file AudioBuffer.hpp.

233{ return m_should_remove; }
bool m_should_remove
Whether the audio buffer should be removed from processing chains.