Skip to main content

try_empty_audio_frame

Function try_empty_audio_frame 

Source
pub fn try_empty_audio_frame() -> Option<AudioFrame<SampleFormat, AudioChannelLayout, AudioFrameExtra, FfmpegBuffer>>
Expand description

Fallible counterpart to empty_audio_frame. Returns None if any of the eight placeholder allocations fails.