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

◆ get_root_audio_buffer()

MAYAFLUX_API Buffers::RootAudioBuffer & MayaFlux::get_root_audio_buffer ( uint32_t  channel)

Gets the audio buffer for a specific channel.

Parameters
channelChannel index
Returns
Reference to the channel's AudioBuffer

Returns the buffer from the default engine's buffer manager.

Definition at line 106 of file Graph.cpp.

107{
108 return *get_buffer_manager()->get_root_audio_buffer(Buffers::ProcessingToken::AUDIO_BACKEND, channel);
109}
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
Definition Graph.cpp:81

References MayaFlux::Buffers::AUDIO_BACKEND, and get_buffer_manager().

Referenced by MayaFlux::Buffers::BufferAccessControl::~BufferAccessControl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: