MayaFlux 0.4.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 135 of file SoundContainerBuffer.cpp.

136{
137 if (m_container) {
138 m_container->unregister_state_change_callback();
139 m_container->unregister_dimension_reader(m_source_channel);
140 }
141}
std::shared_ptr< Kakshya::StreamContainer > m_container

References m_container, and m_source_channel.