pub fn empty_audio_frame() -> AudioFrame<SampleFormat, AudioChannelLayout, AudioFrameExtra, FfmpegBuffer>Expand description
Constructs an empty mediadecode::frame::AudioFrame suitable as
the destination argument to
mediadecode::decoder::AudioStreamDecoder::receive_frame. Same
behaviour as empty_video_frame โ eight 1-byte plane
placeholders, plane_count = 0.
ยงPanics
Panics on FFmpeg-side OOM. See try_empty_audio_frame for the
fallible variant.