pub trait AudioDecoderExt: IsA<AudioDecoder> + 'static {
Show 32 methods
    // Provided methods
    fn allocate_output_buffer(&self, size: usize) -> Buffer { ... }
    fn finish_frame(
        &self,
        buf: Option<Buffer>,
        frames: i32,
    ) -> Result<FlowSuccess, FlowError> { ... }
    fn finish_subframe(
        &self,
        buf: Option<Buffer>,
    ) -> 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_max_errors_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    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§
fn allocate_output_buffer(&self, size: usize) -> Buffer
fn finish_frame( &self, buf: Option<Buffer>, frames: i32, ) -> Result<FlowSuccess, FlowError>
fn finish_subframe(&self, buf: Option<Buffer>) -> Result<FlowSuccess, FlowError>
Available on crate feature 
v1_16 only.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 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_max_errors_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Available on crate feature 
v1_18 only.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
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.