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

◆ get_last_error()

std::string MayaFlux::IO::SoundFileReader::get_last_error ( ) const
overridevirtual

Get the last error message encountered by the reader.

Returns
Error string.

Implements MayaFlux::IO::FileReader.

Definition at line 620 of file SoundFileReader.cpp.

621{
622 std::lock_guard<std::mutex> lock(m_error_mutex);
623 return m_last_error;
624}
std::mutex m_error_mutex
Mutex for thread-safe error message access.
std::string m_last_error
Last error message encountered.

References m_error_mutex, and m_last_error.

Referenced by MayaFlux::IO::VideoFileReader::load_into_container().

+ Here is the caller graph for this function: