|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Buffers::NetworkAudioBuffer::NetworkAudioBuffer | ( | uint32_t | channel_id, |
| uint32_t | num_samples, | ||
| std::shared_ptr< Nodes::Network::NodeNetwork > | network, | ||
| bool | clear_before_process = true |
||
| ) |
Creates a buffer connected to a NodeNetwork.
| channel_id | Channel identifier for this buffer |
| num_samples | Buffer size in samples (should match system buffer size) |
| network | Source network whose batch output populates this buffer (must be AUDIO_SINK or AUDIO_COMPUTE) |
| clear_before_process | Whether to zero buffer before each cycle |
Definition at line 115 of file NetworkAudioBuffer.cpp.
References MayaFlux::Nodes::Network::AUDIO_COMPUTE, MayaFlux::Nodes::Network::AUDIO_SINK, MayaFlux::Journal::Buffers, MayaFlux::Journal::Init, and m_network.