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

◆ reset_audio_network_state()

void MayaFlux::Nodes::NodeGraphManager::reset_audio_network_state ( ProcessingToken  token,
uint32_t  channel = 0 
)
private

Resets the processing state of audio networks for a token and channel.

Parameters
tokenProcessing domain
channelChannel index

Definition at line 194 of file NodeGraphManager.cpp.

195{
196 auto audio_it = m_audio_networks.find(token);
197 if (audio_it != m_audio_networks.end()) {
198 for (auto& network : audio_it->second) {
199 if (network) {
200 if (network->is_registered_on_channel(channel)) {
201 network->request_reset_from_channel(channel);
202 }
203 }
204 }
205 }
206}
std::unordered_map< ProcessingToken, std::vector< std::shared_ptr< Network::NodeNetwork > > > m_audio_networks
Audio-sink networks Only populated for networks with OutputMode::AUDIO_SINK.

References m_audio_networks.

Referenced by postprocess_networks(), and process_channel().

+ Here is the caller graph for this function: