MayaFlux 0.1.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 114 of file TokenUnitManager.cpp.

115{
116 return m_audio_units.find(token) != m_audio_units.end();
117}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
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, and token.

Referenced by 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::BufferProcessingControl::set_audio_final_processor(), and MayaFlux::Buffers::BufferSupplyMixing::supply_audio_buffer_to().

+ Here is the caller graph for this function: