gstreamer_audio::subclass::prelude

Trait AudioAggregatorPadImpl

Source
pub trait AudioAggregatorPadImpl: AggregatorPadImpl + ObjectSubclass<Type: IsA<AudioAggregatorPad>> {
    const HANDLE_CONVERSION: bool = false;

    // Provided methods
    fn update_conversion_info(&self) { ... }
    fn convert_buffer(
        &self,
        in_info: &AudioInfo,
        out_info: &AudioInfo,
        buffer: &Buffer,
    ) -> Option<Buffer> { ... }
}

Provided Associated Constants§

Provided Methods§

Source

fn update_conversion_info(&self)

Called when either the input or output formats have changed.

Source

fn convert_buffer( &self, in_info: &AudioInfo, out_info: &AudioInfo, buffer: &Buffer, ) -> Option<Buffer>

Convert a buffer from one format to another.

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§