Trait gstreamer_audio::prelude::AudioDecoderExtManual

source ·
pub trait AudioDecoderExtManual:
    Sealed
    + IsA<AudioDecoder>
    + 'static {
    // Provided methods
    fn negotiate(&self) -> Result<(), FlowError> { ... }
    fn set_output_format(&self, info: &AudioInfo) -> Result<(), FlowError> { ... }
    fn allocator(&self) -> (Option<Allocator>, AllocationParams) { ... }
    fn error<T: MessageErrorDomain>(
        &self,
        weight: i32,
        code: T,
        message: Option<&str>,
        debug: Option<&str>,
        file: &str,
        function: &str,
        line: u32,
    ) -> Result<FlowSuccess, FlowError> { ... }
    fn sink_pad(&self) -> &Pad { ... }
    fn src_pad(&self) -> &Pad { ... }
    fn input_segment(&self) -> Segment { ... }
    fn output_segment(&self) -> Segment { ... }
}

Provided Methods§

source

fn negotiate(&self) -> Result<(), FlowError>

source

fn set_output_format(&self, info: &AudioInfo) -> Result<(), FlowError>

source

fn allocator(&self) -> (Option<Allocator>, AllocationParams)

source

fn error<T: MessageErrorDomain>( &self, weight: i32, code: T, message: Option<&str>, debug: Option<&str>, file: &str, function: &str, line: u32, ) -> Result<FlowSuccess, FlowError>

source

fn sink_pad(&self) -> &Pad

source

fn src_pad(&self) -> &Pad

source

fn input_segment(&self) -> Segment

source

fn output_segment(&self) -> Segment

Object Safety§

This trait is not object safe.

Implementors§