[][src]Trait gstreamer_audio::AudioDecoderExt

pub trait AudioDecoderExt: 'static {
    pub fn allocate_output_buffer(
        &self,
        size: usize
    ) -> Result<Buffer, BoolError>;
pub fn get_audio_info(&self) -> Option<AudioInfo>;
pub fn get_delay(&self) -> i32;
pub fn get_drainable(&self) -> bool;
pub fn get_estimate_rate(&self) -> i32;
pub fn get_latency(&self) -> (ClockTime, ClockTime);
pub fn get_max_errors(&self) -> i32;
pub fn get_min_latency(&self) -> ClockTime;
pub fn get_needs_format(&self) -> bool;
pub fn get_parse_state(&self) -> (bool, bool);
pub fn get_plc(&self) -> bool;
pub fn get_plc_aware(&self) -> i32;
pub fn get_tolerance(&self) -> ClockTime;
pub fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode);
pub fn proxy_getcaps(
        &self,
        caps: Option<&Caps>,
        filter: Option<&Caps>
    ) -> Caps;
pub fn set_allocation_caps(&self, allocation_caps: Option<&Caps>);
pub fn set_drainable(&self, enabled: bool);
pub fn set_estimate_rate(&self, enabled: bool);
pub fn set_latency(&self, min: ClockTime, max: ClockTime);
pub fn set_max_errors(&self, num: i32);
pub fn set_min_latency(&self, num: ClockTime);
pub fn set_needs_format(&self, enabled: bool);
pub fn set_plc(&self, enabled: bool);
pub fn set_plc_aware(&self, plc: bool);
pub fn set_tolerance(&self, tolerance: ClockTime);
pub fn set_use_default_pad_acceptcaps(&self, use_: bool);
pub fn connect_property_max_errors_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_min_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_plc_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_tolerance_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

pub fn allocate_output_buffer(&self, size: usize) -> Result<Buffer, BoolError>[src]

pub fn get_audio_info(&self) -> Option<AudioInfo>[src]

pub fn get_delay(&self) -> i32[src]

pub fn get_drainable(&self) -> bool[src]

pub fn get_estimate_rate(&self) -> i32[src]

pub fn get_latency(&self) -> (ClockTime, ClockTime)[src]

pub fn get_max_errors(&self) -> i32[src]

pub fn get_min_latency(&self) -> ClockTime[src]

pub fn get_needs_format(&self) -> bool[src]

pub fn get_parse_state(&self) -> (bool, bool)[src]

pub fn get_plc(&self) -> bool[src]

pub fn get_plc_aware(&self) -> i32[src]

pub fn get_tolerance(&self) -> ClockTime[src]

pub fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode)[src]

pub fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps[src]

pub fn set_allocation_caps(&self, allocation_caps: Option<&Caps>)[src]

pub fn set_drainable(&self, enabled: bool)[src]

pub fn set_estimate_rate(&self, enabled: bool)[src]

pub fn set_latency(&self, min: ClockTime, max: ClockTime)[src]

pub fn set_max_errors(&self, num: i32)[src]

pub fn set_min_latency(&self, num: ClockTime)[src]

pub fn set_needs_format(&self, enabled: bool)[src]

pub fn set_plc(&self, enabled: bool)[src]

pub fn set_plc_aware(&self, plc: bool)[src]

pub fn set_tolerance(&self, tolerance: ClockTime)[src]

pub fn set_use_default_pad_acceptcaps(&self, use_: bool)[src]

pub fn connect_property_max_errors_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_min_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_plc_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_tolerance_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<AudioDecoder>> AudioDecoderExt for O[src]

Loading content...