Trait gstreamer_audio::subclass::prelude::AudioSinkImpl

source ·
pub trait AudioSinkImpl: AudioSinkImplExt + AudioBaseSinkImpl {
    // Provided methods
    fn close(&self) -> Result<(), LoggableError> { ... }
    fn delay(&self) -> u32 { ... }
    fn open(&self) -> Result<(), LoggableError> { ... }
    fn prepare(
        &self,
        spec: &mut AudioRingBufferSpec,
    ) -> Result<(), LoggableError> { ... }
    fn unprepare(&self) -> Result<(), LoggableError> { ... }
    fn write(&self, audio_data: &[u8]) -> Result<i32, LoggableError> { ... }
    fn reset(&self) { ... }
}

Provided Methods§

source

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

source

fn delay(&self) -> u32

source

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

source

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

source

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

source

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

source

fn reset(&self)

Object Safety§

This trait is not object safe.

Implementors§