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

◆ get_audio_buffer()

std::optional< std::vector< double > > MayaFlux::Nodes::NodeNetwork::get_audio_buffer ( ) const
virtual

Get cached audio buffer from last process_batch()

Returns
Optional vector of samples

Returns the buffer generated by the most recent process_batch() call. All channels requesting this network's output get the same buffer.

Definition at line 13 of file NodeNetwork.cpp.

14{
17 }
18 return std::nullopt;
19}
std::vector< double > m_last_audio_buffer
@ AUDIO_SINK
Aggregated audio samples sent to output.

References AUDIO_SINK, m_last_audio_buffer, and m_output_mode.