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

◆ get_root_audio_buffer()

std::shared_ptr< RootAudioBuffer > MayaFlux::Buffers::BufferManager::get_root_audio_buffer ( ProcessingToken  token,
uint32_t  channel = 0 
)

Gets a root buffer for a specific token and channel (audio-specific due to channels)

Parameters
tokenProcessing domain
channelChannel index
Returns
Shared pointer to the root audio buffer

Definition at line 142 of file BufferManager.cpp.

143{
144 return m_access_control->get_root_audio_buffer(token, channel);
145}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::unique_ptr< BufferAccessControl > m_access_control
Buffer and unit access operations.

References m_access_control, and token.