Struct rsmpeg::avutil::AVAudioFifo [−][src]
pub struct AVAudioFifo { /* fields omitted */ }
Implementations
impl AVAudioFifo
[src]
impl AVAudioFifo
[src]pub fn as_ptr(&self) -> *const AVAudioFifo
[src]
pub fn as_mut_ptr(&mut self) -> *mut AVAudioFifo
[src]
pub unsafe fn set_ptr(&mut self, ptr: NonNull<AVAudioFifo>)
[src]
pub unsafe fn set_ptr(&mut self, ptr: NonNull<AVAudioFifo>)
[src]Safety
This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.
pub unsafe fn from_raw(raw: NonNull<AVAudioFifo>) -> Self
[src]
pub unsafe fn from_raw(raw: NonNull<AVAudioFifo>) -> Self
[src]Safety
This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.
pub fn into_raw(self) -> NonNull<AVAudioFifo>
[src]
impl AVAudioFifo
[src]
impl AVAudioFifo
[src]pub fn new(sample_fmt: AVSampleFormat, channels: i32, nb_samples: i32) -> Self
[src]
pub fn size(&self) -> i32
[src]
pub fn size(&self) -> i32
[src]Get the current number of samples in the AVAudioFifo
available for
reading.
pub fn space(&self) -> i32
[src]
pub fn space(&self) -> i32
[src]Get the current number of samples in the AVAudioFifo
available for
writing.
pub fn reset(&mut self)
[src]
pub fn drain(&mut self, nb_samples: i32)
[src]
pub fn realloc(&mut self, nb_samples: i32)
[src]
Trait Implementations
impl Deref for AVAudioFifo
[src]
impl Deref for AVAudioFifo
[src]type Target = AVAudioFifo
type Target = AVAudioFifo
The resulting type after dereferencing.