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

◆ has_data_for_cycle()

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

Checks if the audio buffer has data for the current processing cycle.

Returns
True if the buffer has audio data for processing, false otherwise

This method is particularly relevant when using SignalSourceContainers or streaming audio systems. Standard audio buffers typically return true unless explicitly marked otherwise, but derived classes may implement different behavior based on streaming state or data availability.

Implements MayaFlux::Buffers::Buffer.

Definition at line 220 of file AudioBuffer.hpp.

220{ return m_has_data; }
bool m_has_data
Whether the audio buffer has data to process this cycle.