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

◆ notify_state_change()

void MayaFlux::Kakshya::SoundStreamContainer::notify_state_change ( ProcessingState  new_state)
protected

Definition at line 625 of file SoundStreamContainer.cpp.

626{
627 std::lock_guard<std::mutex> lock(m_state_mutex);
628 if (m_state_callback) {
629 m_state_callback(shared_from_this(), new_state);
630 }
631}
void lock() override
Acquire a lock for thread-safe access.
std::function< void(std::shared_ptr< SignalSourceContainer >, ProcessingState)> m_state_callback

References lock(), m_state_callback, and m_state_mutex.

Referenced by update_processing_state().

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