MayaFlux 0.2.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 177 of file SoundContainerBuffer.cpp.

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

References m_container, and m_source_channel.