Trait gstreamer_audio::subclass::audio_src::AudioSrcImpl
source · pub trait AudioSrcImpl: AudioSrcImplExt + AudioBaseSrcImpl {
// 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 read(
&self,
audio_data: &mut [u8],
) -> Result<(u32, Option<ClockTime>), 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 read( &self, audio_data: &mut [u8], ) -> Result<(u32, Option<ClockTime>), LoggableError>
fn reset(&self)
Object Safety§
This trait is not object safe.