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

◆ on_detach()

void MayaFlux::Buffers::SoundStreamReader::on_detach ( const std::shared_ptr< Buffer > &  buffer)
overridevirtual

Detach the adapter from its AudioBuffer.

Cleans up state and unregisters callbacks.

Parameters
bufferThe AudioBuffer to detach from.

Reimplemented from MayaFlux::Buffers::BufferProcessor.

Definition at line 175 of file SoundContainerBuffer.cpp.

176{
177 if (m_container) {
178 m_container->unregister_state_change_callback();
179 m_container->unregister_dimension_reader(m_source_channel);
180 }
181}
std::shared_ptr< Kakshya::StreamContainer > m_container

References m_container, and m_source_channel.