|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| RootAudioUnit & MayaFlux::Buffers::TokenUnitManager::get_or_create_audio_unit | ( | ProcessingToken | token | ) |
Gets or creates a root audio unit for the specified token.
| token | Processing domain |
If the unit doesn't exist, creates it and returns it. Thread-safe creation via lock guard.
Definition at line 71 of file TokenUnitManager.cpp.
References m_audio_units, m_manager_mutex, and token.
Referenced by MayaFlux::Buffers::BufferAccessControl::add_audio_buffer(), MayaFlux::Buffers::BufferProcessingControl::add_audio_processor_to_token(), ensure_and_get_audio_unit(), ensure_audio_channels(), MayaFlux::Buffers::BufferAccessControl::get_audio_processing_chain(), MayaFlux::Buffers::BufferAccessControl::get_root_audio_buffer(), and resize_audio_buffers().
Here is the caller graph for this function: