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

◆ process_default()

void MayaFlux::Buffers::NodeBuffer::process_default ( )
overridevirtual

Processes this buffer using its default processor.

For a NodeBuffer, this involves capturing sequential output from the source node and storing it in the buffer according to the configured interpolation coefficient and clear_before_process setting.

Reimplemented from MayaFlux::Buffers::AudioBuffer.

Definition at line 85 of file NodeBuffer.cpp.

86{
88 clear();
89 }
90 m_default_processor->process(shared_from_this());
91}
virtual void clear() override
Resets all audio samples in the buffer to silence.
std::shared_ptr< BufferProcessor > m_default_processor
Default audio transformation processor for this buffer.
bool m_clear_before_process
Whether to reset the buffer before adding node output.

References MayaFlux::Buffers::AudioBuffer::clear(), m_clear_before_process, and MayaFlux::Buffers::AudioBuffer::m_default_processor.

+ Here is the call graph for this function: