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

pub trait AudioSinkImpl: AudioSinkImplExt + BaseSinkImpl {
    fn close(&self, sink: &Self::Type) -> Result<(), LoggableError> { ... }
fn delay(&self, sink: &Self::Type) -> u32 { ... }
fn open(&self, sink: &Self::Type) -> Result<(), LoggableError> { ... }
fn prepare(
        &self,
        sink: &Self::Type,
        spec: &mut AudioRingBufferSpec
    ) -> Result<(), LoggableError> { ... }
fn unprepare(&self, sink: &Self::Type) -> Result<(), LoggableError> { ... }
fn write(
        &self,
        sink: &Self::Type,
        audio_data: &[u8]
    ) -> Result<i32, LoggableError> { ... }
fn reset(&self, sink: &Self::Type) { ... } }

Provided methods

fn close(&self, sink: &Self::Type) -> Result<(), LoggableError>[src]

fn delay(&self, sink: &Self::Type) -> u32[src]

fn open(&self, sink: &Self::Type) -> Result<(), LoggableError>[src]

fn prepare(
    &self,
    sink: &Self::Type,
    spec: &mut AudioRingBufferSpec
) -> Result<(), LoggableError>
[src]

fn unprepare(&self, sink: &Self::Type) -> Result<(), LoggableError>[src]

fn write(
    &self,
    sink: &Self::Type,
    audio_data: &[u8]
) -> Result<i32, LoggableError>
[src]

fn reset(&self, sink: &Self::Type)[src]

Loading content...

Implementors

Loading content...