|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kakshya::PlotProcessor::bind_network | ( | uint32_t | series_index, |
| std::shared_ptr< Nodes::Network::NodeNetwork > | network | ||
| ) |
Bind a series slot to a NodeNetwork with audio output.
Each process() reads get_audio_buffer() and copies the result into the series. Fails at bind time if the network has no audio output mode.
| series_index | Index returned by PlotContainer::add_series(). |
| network | NodeNetwork to read from. |
Definition at line 54 of file PlotProcessor.cpp.
References MayaFlux::Nodes::Network::AUDIO_COMPUTE, MayaFlux::Nodes::Network::AUDIO_SINK, b, m_bindings, MF_ERROR, network, and NETWORK.