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

◆ is_valid()

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

True if the codec and resampler are ready for decoding.

Definition at line 68 of file AudioStreamContext.hpp.

69 {
70 return codec_context && swr_context && stream_index >= 0;
71 }
SwrContext * swr_context
Owned; freed in destructor.
AVCodecContext * codec_context
Owned; freed in destructor.