Trait gstreamer_audio::subclass::prelude::AudioEncoderImplExt
source · pub trait AudioEncoderImplExt: Sealed + ObjectSubclass {
Show 16 methods
// Provided methods
fn parent_open(&self) -> Result<(), ErrorMessage> { ... }
fn parent_close(&self) -> Result<(), ErrorMessage> { ... }
fn parent_start(&self) -> Result<(), ErrorMessage> { ... }
fn parent_stop(&self) -> Result<(), ErrorMessage> { ... }
fn parent_set_format(&self, info: &AudioInfo) -> Result<(), LoggableError> { ... }
fn parent_handle_frame(
&self,
buffer: Option<&Buffer>,
) -> Result<FlowSuccess, FlowError> { ... }
fn parent_pre_push(
&self,
buffer: Buffer,
) -> Result<Option<Buffer>, FlowError> { ... }
fn parent_flush(&self) { ... }
fn parent_negotiate(&self) -> Result<(), LoggableError> { ... }
fn parent_caps(&self, filter: Option<&Caps>) -> Caps { ... }
fn parent_sink_event(&self, event: Event) -> bool { ... }
fn parent_sink_query(&self, query: &mut QueryRef) -> bool { ... }
fn parent_src_event(&self, event: Event) -> bool { ... }
fn parent_src_query(&self, query: &mut QueryRef) -> bool { ... }
fn parent_propose_allocation(
&self,
query: &mut Allocation,
) -> Result<(), LoggableError> { ... }
fn parent_decide_allocation(
&self,
query: &mut Allocation,
) -> Result<(), LoggableError> { ... }
}
Provided Methods§
fn parent_open(&self) -> Result<(), ErrorMessage>
fn parent_close(&self) -> Result<(), ErrorMessage>
fn parent_start(&self) -> Result<(), ErrorMessage>
fn parent_stop(&self) -> Result<(), ErrorMessage>
fn parent_set_format(&self, info: &AudioInfo) -> Result<(), LoggableError>
fn parent_handle_frame( &self, buffer: Option<&Buffer>, ) -> Result<FlowSuccess, FlowError>
fn parent_pre_push(&self, buffer: Buffer) -> Result<Option<Buffer>, FlowError>
fn parent_flush(&self)
fn parent_negotiate(&self) -> Result<(), LoggableError>
fn parent_caps(&self, filter: Option<&Caps>) -> Caps
fn parent_sink_event(&self, event: Event) -> bool
fn parent_sink_query(&self, query: &mut QueryRef) -> bool
fn parent_src_event(&self, event: Event) -> bool
fn parent_src_query(&self, query: &mut QueryRef) -> bool
fn parent_propose_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
Object Safety§
This trait is not object safe.