gstreamer_audio::auto::audio_decoder

Trait 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

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§