Skip to main content

AudioFrame

Type Alias AudioFrame 

Source
pub type AudioFrame<S = Shared> = MediaFrame<Audio, S>;

Aliased Type§

pub struct AudioFrame<S = Shared> { /* private fields */ }

Implementations§

Source§

impl<S> AudioFrame<S>

Source

pub fn channel(&self, channel: i32) -> *const u8

Source

pub fn get_audio_format(&self) -> &AudioFormat

Source

pub fn frame_length(&self) -> i32