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

◆ is_open()

bool MayaFlux::IO::SoundFileReader::is_open ( ) const
overridevirtual

Check if a file is currently open.

Returns
True if a file is open, false otherwise.

Implements MayaFlux::IO::FileReader.

Definition at line 230 of file SoundFileReader.cpp.

231{
232 std::shared_lock<std::shared_mutex> lock(m_context_mutex);
233 return m_context && m_context->is_valid();
234}
std::shared_ptr< FFmpegContext > m_context

References m_context, and m_context_mutex.