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

◆ set_container()

void MayaFlux::Buffers::SoundContainerBuffer::set_container ( const std::shared_ptr< Kakshya::StreamContainer > &  container)

Update the container reference.

Parameters
containerNew StreamContainer to use.

Definition at line 259 of file SoundContainerBuffer.cpp.

260{
261 m_container = container;
262
263 if (auto adapter = std::dynamic_pointer_cast<SoundStreamReader>(m_default_processor)) {
264 adapter->set_container(container);
265 }
266
268}
std::shared_ptr< BufferProcessor > m_default_processor
Default audio transformation processor for this buffer.
void setup_zero_copy_if_possible()
Attempt to enable zero-copy operation if container layout allows.
std::shared_ptr< Kakshya::StreamContainer > m_container

References m_container, MayaFlux::Buffers::AudioBuffer::m_default_processor, and setup_zero_copy_if_possible().

+ Here is the call graph for this function: