|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< std::shared_ptr< AudioBuffer > > MayaFlux::Buffers::BufferSupplyMixing::clone_audio_buffer_for_channels | ( | const std::shared_ptr< AudioBuffer > & | buffer, |
| const std::vector< uint32_t > & | channels, | ||
| ProcessingToken | token | ||
| ) |
Clones an audio buffer for each channel in the specified list.
| buffer | Buffer to clone |
| channels | Vector of channel indices to clone for |
| token | Processing domain |
Creates a new buffer for each specified channel, copying the structure but maintaining independent data. Useful for multi-channel processing where each channel needs its own processing chain.
Definition at line 145 of file BufferSupplyMixing.cpp.
References MayaFlux::Buffers::BufferAccessControl::add_audio_buffer(), MayaFlux::Journal::BufferManagement, MayaFlux::Journal::Core, MayaFlux::Buffers::TokenUnitManager::get_audio_unit_mutable(), MayaFlux::Buffers::TokenUnitManager::has_audio_unit(), m_access_control, m_unit_manager, MF_ERROR, and token.
Here is the call graph for this function: