|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Nodes::Network::extract_node_samples | ( | const std::shared_ptr< Nodes::Node > & | node, |
| std::vector< double > & | buffer, | ||
| size_t & | buffer_pos, | ||
| size_t | num_samples | ||
| ) |
Extract num_samples from node into buffer using snapshot guard.
| node | Source node to extract from |
| buffer | Output buffer, resized to num_samples and filled |
| buffer_pos | Position counter, reset to 0 before extraction |
| num_samples | Frames to produce |
Definition at line 41 of file NodeNetwork.cpp.
References buffer, MayaFlux::Nodes::INACTIVE, and MayaFlux::Buffers::wait_for_snapshot_completion().
Referenced by MayaFlux::Nodes::Network::AdvanceOperator::process(), MayaFlux::Nodes::Network::ModalNetwork::process_batch(), and MayaFlux::Nodes::Network::WaveguideNetwork::process_batch().
Here is the call graph for this function:
Here is the caller graph for this function: