|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::IO::IOManager::stop | ( | ) |
Finalizes all in-flight output while consumers are still running.
Stops every audio, video, volume and spatial capture through its stop_*_capture() call, closes the sound writers and waits for pending saves. A capture the caller never stopped is still finalized (an Ogawa archive or video container left open is not a valid file), and volume/spatial captures release their scheduler reference here instead of reaching into an already-destroyed scheduler.
The IOService stays registered and readers stay alive, so threads that consume them keep working. Idempotent. Call before the subsystems stop (see Engine::End()), while backend services and logging sinks are alive.
Definition at line 106 of file IOManager.cpp.
References ids, MayaFlux::Journal::Init, MayaFlux::Journal::IO, m_audio_captures, m_audio_captures_mutex, m_spatial_captures, m_spatial_captures_mutex, m_stop_done, m_video_captures, m_video_captures_mutex, m_volume_captures, m_volume_captures_mutex, m_writers, MF_TRACE, stop_audio_capture(), stop_spatial_capture(), stop_video_capture(), stop_volume_capture(), and wait_for_pending_saves().
Referenced by shutdown().
Here is the call graph for this function:
Here is the caller graph for this function: