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§
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)
Object Safety§
This trait is not object safe.