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

◆ set_error()

void MayaFlux::IO::SoundFileReader::set_error ( const std::string &  error) const
private

Set the last error message.

Parameters
errorError string.

Definition at line 928 of file SoundFileReader.cpp.

929{
930 std::lock_guard<std::mutex> lock(m_metadata_mutex);
932}
std::mutex m_metadata_mutex
Mutex for thread-safe metadata access.
std::string m_last_error
Last error message encountered.
void error(Component component, Context context, std::source_location location, std::string_view message)
Log an error message and optionally throw an exception.

References m_last_error, and m_metadata_mutex.

Referenced by create_container(), decode_frames(), load_into_container(), open(), read_all(), read_frames(), read_region(), seek(), seek_internal(), and setup_resampler().

+ Here is the caller graph for this function: