Trait gstreamer_audio::subclass::prelude::AudioDecoderImplExt [−][src]
pub trait AudioDecoderImplExt: ObjectSubclass {}Show methods
fn parent_open(&self, element: &Self::Type) -> Result<(), ErrorMessage>; fn parent_close(&self, element: &Self::Type) -> Result<(), ErrorMessage>; fn parent_start(&self, element: &Self::Type) -> Result<(), ErrorMessage>; fn parent_stop(&self, element: &Self::Type) -> Result<(), ErrorMessage>; fn parent_set_format(
&self,
element: &Self::Type,
caps: &Caps
) -> Result<(), LoggableError>; fn parent_parse(
&self,
element: &Self::Type,
adapter: &Adapter
) -> Result<(u32, u32), FlowError>; fn parent_handle_frame(
&self,
element: &Self::Type,
buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError>; fn parent_pre_push(
&self,
element: &Self::Type,
buffer: Buffer
) -> Result<Option<Buffer>, FlowError>; fn parent_flush(&self, element: &Self::Type, hard: bool); fn parent_negotiate(
&self,
element: &Self::Type
) -> Result<(), LoggableError>; fn parent_caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Caps; fn parent_sink_event(&self, element: &Self::Type, event: Event) -> bool; fn parent_sink_query(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> bool; fn parent_src_event(&self, element: &Self::Type, event: Event) -> bool; fn parent_src_query(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> bool; fn parent_propose_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>; fn parent_decide_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>;
Required methods
fn parent_open(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn parent_close(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn parent_start(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn parent_stop(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn parent_set_format(
&self,
element: &Self::Type,
caps: &Caps
) -> Result<(), LoggableError>
[src]
&self,
element: &Self::Type,
caps: &Caps
) -> Result<(), LoggableError>
fn parent_parse(
&self,
element: &Self::Type,
adapter: &Adapter
) -> Result<(u32, u32), FlowError>
[src]
&self,
element: &Self::Type,
adapter: &Adapter
) -> Result<(u32, u32), FlowError>
fn parent_handle_frame(
&self,
element: &Self::Type,
buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError>
[src]
&self,
element: &Self::Type,
buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError>
fn parent_pre_push(
&self,
element: &Self::Type,
buffer: Buffer
) -> Result<Option<Buffer>, FlowError>
[src]
&self,
element: &Self::Type,
buffer: Buffer
) -> Result<Option<Buffer>, FlowError>
fn parent_flush(&self, element: &Self::Type, hard: bool)
[src]
fn parent_negotiate(&self, element: &Self::Type) -> Result<(), LoggableError>
[src]
fn parent_caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Caps
[src]
fn parent_sink_event(&self, element: &Self::Type, event: Event) -> bool
[src]
fn parent_sink_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool
[src]
fn parent_src_event(&self, element: &Self::Type, event: Event) -> bool
[src]
fn parent_src_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool
[src]
fn parent_propose_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
fn parent_decide_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
Implementors
impl<T: AudioDecoderImpl> AudioDecoderImplExt for T
[src]
impl<T: AudioDecoderImpl> AudioDecoderImplExt for T
[src]fn parent_open(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn parent_close(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn parent_start(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn parent_stop(&self, element: &Self::Type) -> Result<(), ErrorMessage>
[src]
fn parent_set_format(
&self,
element: &Self::Type,
caps: &Caps
) -> Result<(), LoggableError>
[src]
&self,
element: &Self::Type,
caps: &Caps
) -> Result<(), LoggableError>
fn parent_parse(
&self,
element: &Self::Type,
adapter: &Adapter
) -> Result<(u32, u32), FlowError>
[src]
&self,
element: &Self::Type,
adapter: &Adapter
) -> Result<(u32, u32), FlowError>
fn parent_handle_frame(
&self,
element: &Self::Type,
buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError>
[src]
&self,
element: &Self::Type,
buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError>
fn parent_pre_push(
&self,
element: &Self::Type,
buffer: Buffer
) -> Result<Option<Buffer>, FlowError>
[src]
&self,
element: &Self::Type,
buffer: Buffer
) -> Result<Option<Buffer>, FlowError>
fn parent_flush(&self, element: &Self::Type, hard: bool)
[src]
fn parent_negotiate(&self, element: &Self::Type) -> Result<(), LoggableError>
[src]
fn parent_caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Caps
[src]
fn parent_sink_event(&self, element: &Self::Type, event: Event) -> bool
[src]
fn parent_sink_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool
[src]
fn parent_src_event(&self, element: &Self::Type, event: Event) -> bool
[src]
fn parent_src_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool
[src]
fn parent_propose_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
fn parent_decide_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>