Trait gstreamer_audio::prelude::AudioDecoderExt

source ·
pub trait AudioDecoderExt:
    IsA<AudioDecoder>
    + Sealed
    + 'static {
Show 30 methods // Provided methods fn allocate_output_buffer(&self, size: usize) -> Buffer { ... } fn finish_frame( &self, buf: Option<Buffer>, frames: i32, ) -> Result<FlowSuccess, FlowError> { ... } fn audio_info(&self) -> AudioInfo { ... } fn delay(&self) -> i32 { ... } fn is_drainable(&self) -> bool { ... } fn estimate_rate(&self) -> i32 { ... } fn latency(&self) -> (ClockTime, Option<ClockTime>) { ... } fn max_errors(&self) -> i32 { ... } fn min_latency(&self) -> ClockTime { ... } fn needs_format(&self) -> bool { ... } fn parse_state(&self) -> (bool, bool) { ... } fn is_plc(&self) -> bool { ... } fn plc_aware(&self) -> i32 { ... } fn tolerance(&self) -> ClockTime { ... } fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode) { ... } fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps { ... } fn set_allocation_caps(&self, allocation_caps: Option<&Caps>) { ... } fn set_drainable(&self, enabled: bool) { ... } fn set_estimate_rate(&self, enabled: bool) { ... } fn set_latency(&self, min: ClockTime, max: impl Into<Option<ClockTime>>) { ... } fn set_max_errors(&self, num: i32) { ... } fn set_min_latency(&self, num: ClockTime) { ... } fn set_needs_format(&self, enabled: bool) { ... } fn set_plc(&self, enabled: bool) { ... } fn set_plc_aware(&self, plc: bool) { ... } fn set_tolerance(&self, tolerance: ClockTime) { ... } fn set_use_default_pad_acceptcaps(&self, use_: bool) { ... } fn connect_min_latency_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_plc_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_tolerance_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn allocate_output_buffer(&self, size: usize) -> Buffer

source

fn finish_frame( &self, buf: Option<Buffer>, frames: i32, ) -> Result<FlowSuccess, FlowError>

source

fn audio_info(&self) -> AudioInfo

source

fn delay(&self) -> i32

source

fn is_drainable(&self) -> bool

source

fn estimate_rate(&self) -> i32

source

fn latency(&self) -> (ClockTime, Option<ClockTime>)

source

fn max_errors(&self) -> i32

source

fn min_latency(&self) -> ClockTime

source

fn needs_format(&self) -> bool

source

fn parse_state(&self) -> (bool, bool)

source

fn is_plc(&self) -> bool

source

fn plc_aware(&self) -> i32

source

fn tolerance(&self) -> ClockTime

source

fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode)

source

fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps

source

fn set_allocation_caps(&self, allocation_caps: Option<&Caps>)

source

fn set_drainable(&self, enabled: bool)

source

fn set_estimate_rate(&self, enabled: bool)

source

fn set_latency(&self, min: ClockTime, max: impl Into<Option<ClockTime>>)

source

fn set_max_errors(&self, num: i32)

source

fn set_min_latency(&self, num: ClockTime)

source

fn set_needs_format(&self, enabled: bool)

source

fn set_plc(&self, enabled: bool)

source

fn set_plc_aware(&self, plc: bool)

source

fn set_tolerance(&self, tolerance: ClockTime)

source

fn set_use_default_pad_acceptcaps(&self, use_: bool)

source

fn connect_min_latency_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_plc_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_tolerance_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§