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

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

Provided methods

fn close(&self, sink: &AudioSink) -> Result<(), LoggableError>

fn delay(&self, sink: &AudioSink) -> u32

fn open(&self, sink: &AudioSink) -> Result<(), LoggableError>

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

fn unprepare(&self, sink: &AudioSink) -> Result<(), LoggableError>

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

fn reset(&self, sink: &AudioSink)

Loading content...

Implementors

Loading content...