gstreamer_audio::subclass::prelude

Trait AudioSrcImplExt

Source
pub trait AudioSrcImplExt: AudioSrcImpl {
    // Provided methods
    fn parent_close(&self) -> Result<(), LoggableError> { ... }
    fn parent_delay(&self) -> u32 { ... }
    fn parent_open(&self) -> Result<(), LoggableError> { ... }
    fn parent_prepare(
        &self,
        spec: &mut AudioRingBufferSpec,
    ) -> Result<(), LoggableError> { ... }
    fn parent_unprepare(&self) -> Result<(), LoggableError> { ... }
    fn parent_read(
        &self,
        buffer: &mut [u8],
    ) -> Result<(u32, Option<ClockTime>), LoggableError> { ... }
    fn parent_reset(&self) { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§