[][src]Trait gstreamer_audio::subclass::prelude::AudioSrcImpl

pub trait AudioSrcImpl: AudioSrcImplExt + BaseSrcImpl + Send + Sync + 'static {
    fn close(&self, src: &AudioSrc) -> Result<(), LoggableError> { ... }
fn delay(&self, src: &AudioSrc) -> u32 { ... }
fn open(&self, src: &AudioSrc) -> Result<(), LoggableError> { ... }
fn prepare(
        &self,
        src: &AudioSrc,
        spec: &mut AudioRingBufferSpec
    ) -> Result<(), LoggableError> { ... }
fn unprepare(&self, src: &AudioSrc) -> Result<(), LoggableError> { ... }
fn read(
        &self,
        src: &AudioSrc,
        audio_data: &mut [u8]
    ) -> Result<(u32, ClockTime), LoggableError> { ... }
fn reset(&self, src: &AudioSrc) { ... } }

Provided methods

fn close(&self, src: &AudioSrc) -> Result<(), LoggableError>

fn delay(&self, src: &AudioSrc) -> u32

fn open(&self, src: &AudioSrc) -> Result<(), LoggableError>

fn prepare(
    &self,
    src: &AudioSrc,
    spec: &mut AudioRingBufferSpec
) -> Result<(), LoggableError>

fn unprepare(&self, src: &AudioSrc) -> Result<(), LoggableError>

fn read(
    &self,
    src: &AudioSrc,
    audio_data: &mut [u8]
) -> Result<(u32, ClockTime), LoggableError>

fn reset(&self, src: &AudioSrc)

Loading content...

Implementors

Loading content...