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

◆ has_audio_unit()

bool MayaFlux::Buffers::TokenUnitManager::has_audio_unit ( ProcessingToken  token) const

Checks if an audio unit exists for the given token.

Parameters
tokenProcessing domain
Returns
True if the unit exists, false otherwise

Definition at line 116 of file TokenUnitManager.cpp.

117{
118 return m_audio_units.find(token) != m_audio_units.end();
119}
std::unordered_map< ProcessingToken, RootAudioUnit > m_audio_units
Token-based map of root audio buffer units Maps: ProcessingToken -> channel -> {root_buffers,...

References m_audio_units.

Referenced by MayaFlux::Buffers::BufferSupplyMixing::cleanup_completed_routing(), MayaFlux::Buffers::BufferSupplyMixing::clone_audio_buffer_for_channels(), MayaFlux::Buffers::BufferSupplyMixing::fill_audio_from_interleaved(), MayaFlux::Buffers::BufferSupplyMixing::fill_audio_interleaved(), MayaFlux::Buffers::BufferAccessControl::remove_audio_buffer(), MayaFlux::Buffers::BufferProcessingControl::remove_audio_processor_from_channel(), MayaFlux::Buffers::BufferProcessingControl::remove_audio_processor_from_token(), MayaFlux::Buffers::BufferSupplyMixing::remove_supplied_audio_buffer(), MayaFlux::Buffers::BufferSupplyMixing::route_buffer_to_channel(), MayaFlux::Buffers::BufferProcessingControl::set_audio_final_processor(), MayaFlux::Buffers::BufferSupplyMixing::supply_audio_buffer_to(), and MayaFlux::Buffers::BufferSupplyMixing::update_routing_states_for_cycle().

+ Here is the caller graph for this function: