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

◆ is_valid()

bool MayaFlux::IO::AudioEncodeContext::is_valid ( ) const
inline

True if codec, resampler, and FIFO are all ready.

Definition at line 87 of file AudioEncodeContext.hpp.

88 {
89 return codec_context && swr_context && fifo && m_stream_index >= 0;
90 }
AVCodecContext * codec_context
Owned; freed in destructor.
SwrContext * swr_context
Owned; freed in destructor.
AVAudioFifo * fifo
Owned; freed in destructor.

Referenced by drain(), and encode_frames().

+ Here is the caller graph for this function: