|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
RAII wrapper for FFmpeg contexts with proper cleanup. More...
#include <SoundFileReader.hpp>
Collaboration diagram for MayaFlux::IO::FFmpegContext:Public Member Functions | |
| ~FFmpegContext () | |
| FFmpegContext ()=default | |
| FFmpegContext (const FFmpegContext &)=delete | |
| FFmpegContext & | operator= (const FFmpegContext &)=delete |
| FFmpegContext (FFmpegContext &&)=delete | |
| FFmpegContext & | operator= (FFmpegContext &&)=delete |
| bool | is_valid () const |
Public Attributes | |
| AVFormatContext * | format_context = nullptr |
| AVCodecContext * | codec_context = nullptr |
| SwrContext * | swr_context = nullptr |
| int | audio_stream_index = -1 |
| uint64_t | total_frames = 0 |
| uint32_t | sample_rate = 0 |
| uint32_t | channels = 0 |
RAII wrapper for FFmpeg contexts with proper cleanup.
This struct holds all FFmpeg-related state and ensures proper cleanup order. Shared ownership allows safe concurrent access with reader-writer semantics.
Definition at line 45 of file SoundFileReader.hpp.