[][src]Trait gstreamer_audio::subclass::prelude::AudioDecoderImplExt

pub trait AudioDecoderImplExt {
    fn parent_open(&self, element: &AudioDecoder) -> Result<(), ErrorMessage>;
fn parent_close(&self, element: &AudioDecoder) -> Result<(), ErrorMessage>;
fn parent_start(&self, element: &AudioDecoder) -> Result<(), ErrorMessage>;
fn parent_stop(&self, element: &AudioDecoder) -> Result<(), ErrorMessage>;
fn parent_set_format(
        &self,
        element: &AudioDecoder,
        caps: &Caps
    ) -> Result<(), LoggableError>;
fn parent_parse(
        &self,
        element: &AudioDecoder,
        adapter: &Adapter
    ) -> Result<(u32, u32), FlowError>;
fn parent_handle_frame(
        &self,
        element: &AudioDecoder,
        buffer: Option<&Buffer>
    ) -> Result<FlowSuccess, FlowError>;
fn parent_pre_push(
        &self,
        element: &AudioDecoder,
        buffer: Buffer
    ) -> Result<Option<Buffer>, FlowError>;
fn parent_flush(&self, element: &AudioDecoder, hard: bool);
fn parent_negotiate(
        &self,
        element: &AudioDecoder
    ) -> Result<(), LoggableError>;
fn parent_get_caps(
        &self,
        element: &AudioDecoder,
        filter: Option<&Caps>
    ) -> Caps;
fn parent_sink_event(&self, element: &AudioDecoder, event: Event) -> bool;
fn parent_sink_query(
        &self,
        element: &AudioDecoder,
        query: &mut QueryRef
    ) -> bool;
fn parent_src_event(&self, element: &AudioDecoder, event: Event) -> bool;
fn parent_src_query(
        &self,
        element: &AudioDecoder,
        query: &mut QueryRef
    ) -> bool;
fn parent_propose_allocation(
        &self,
        element: &AudioDecoder,
        query: &mut QueryRef
    ) -> Result<(), ErrorMessage>;
fn parent_decide_allocation(
        &self,
        element: &AudioDecoder,
        query: &mut QueryRef
    ) -> Result<(), ErrorMessage>; }

Required methods

fn parent_open(&self, element: &AudioDecoder) -> Result<(), ErrorMessage>

fn parent_close(&self, element: &AudioDecoder) -> Result<(), ErrorMessage>

fn parent_start(&self, element: &AudioDecoder) -> Result<(), ErrorMessage>

fn parent_stop(&self, element: &AudioDecoder) -> Result<(), ErrorMessage>

fn parent_set_format(
    &self,
    element: &AudioDecoder,
    caps: &Caps
) -> Result<(), LoggableError>

fn parent_parse(
    &self,
    element: &AudioDecoder,
    adapter: &Adapter
) -> Result<(u32, u32), FlowError>

fn parent_handle_frame(
    &self,
    element: &AudioDecoder,
    buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError>

fn parent_pre_push(
    &self,
    element: &AudioDecoder,
    buffer: Buffer
) -> Result<Option<Buffer>, FlowError>

fn parent_flush(&self, element: &AudioDecoder, hard: bool)

fn parent_negotiate(&self, element: &AudioDecoder) -> Result<(), LoggableError>

fn parent_get_caps(&self, element: &AudioDecoder, filter: Option<&Caps>) -> Caps

fn parent_sink_event(&self, element: &AudioDecoder, event: Event) -> bool

fn parent_sink_query(
    &self,
    element: &AudioDecoder,
    query: &mut QueryRef
) -> bool

fn parent_src_event(&self, element: &AudioDecoder, event: Event) -> bool

fn parent_src_query(&self, element: &AudioDecoder, query: &mut QueryRef) -> bool

fn parent_propose_allocation(
    &self,
    element: &AudioDecoder,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>

fn parent_decide_allocation(
    &self,
    element: &AudioDecoder,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>

Loading content...

Implementors

impl<T: AudioDecoderImpl + ObjectImpl> AudioDecoderImplExt for T[src]

Loading content...