Trait gstreamer_audio::subclass::prelude::AudioEncoderImplExt [−][src]
pub trait AudioEncoderImplExt: 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,
info: &AudioInfo
) -> Result<(), LoggableError>; 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); 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,
info: &AudioInfo
) -> Result<(), LoggableError>
[src]fn parent_handle_frame(
&self,
element: &Self::Type,
buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError>
[src]fn parent_pre_push(
&self,
element: &Self::Type,
buffer: Buffer
) -> Result<Option<Buffer>, FlowError>
[src]fn parent_flush(&self, element: &Self::Type)
[src]fn parent_negotiate(&self, element: &Self::Type) -> Result<(), LoggableError>
[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]fn parent_decide_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]Implementors
fn parent_set_format(
&self,
element: &Self::Type,
info: &AudioInfo
) -> Result<(), LoggableError>
[src]fn parent_handle_frame(
&self,
element: &Self::Type,
buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError>
[src]fn parent_pre_push(
&self,
element: &Self::Type,
buffer: Buffer
) -> Result<Option<Buffer>, FlowError>
[src]fn parent_propose_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]fn parent_decide_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]