|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Buffers::NodeBuffer::NodeBuffer | ( | uint32_t | channel_id, |
| uint32_t | num_samples, | ||
| std::shared_ptr< Nodes::Node > | source, | ||
| bool | clear_before_process = true |
||
| ) |
Creates a new buffer connected to a computational node.
| channel_id | Channel identifier for this buffer |
| num_samples | Buffer size in samples |
| source | Source node that generates sequential data values |
| clear_before_process | Whether to reset the buffer before adding node output |
Initializes a buffer that automatically captures output from the specified computational node when processed. The buffer is configured with a NodeSourceProcessor as its default processor, creating a self-contained data capture system.
Definition at line 77 of file NodeBuffer.cpp.
References create_default_processor(), and MayaFlux::Buffers::AudioBuffer::m_default_processor.
Here is the call graph for this function: