|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| std::future< bool > MayaFlux::IO::SoundFileWriter::close | ( | ) |
Post a close command to the worker.
The worker drains the FIFO, flushes the encoder, writes the container trailer, and fulfils the returned future. The caller may co_await or .get() the future, or discard it if completion is not needed.
Safe to call multiple times; subsequent calls return a future that is immediately ready with false.
Definition at line 77 of file SoundFileWriter.cpp.
References m_close_future, m_closing, and post().
Referenced by ~SoundFileWriter().
Here is the call graph for this function:
Here is the caller graph for this function: