- bool decode_video_packet ();
- void decode_audio_packet ();
- void decode_subtitle_packet ();
+ std::shared_ptr<FFmpegAudioStream> audio_stream_from_index (int index) const;
+ std::pair<int, bool> decode_audio_packet (std::shared_ptr<FFmpegAudioStream> stream, AVPacket* packet);
+ void process_audio_frame (std::shared_ptr<FFmpegAudioStream> stream);