MayaFlux 0.1.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 623 of file SoundStreamContainer.cpp.

624{
625 std::lock_guard<std::mutex> lock(m_state_mutex);
626 if (m_state_callback) {
627 m_state_callback(shared_from_this(), new_state);
628 }
629}
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: