pub trait AudioDecoderImplExt: Sealed + ObjectSubclass {
Show 17 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, caps: &Caps) -> Result<(), LoggableError> { ... }
fn parent_parse(&self, adapter: &Adapter) -> Result<(u32, u32), FlowError> { ... }
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, hard: bool) { ... }
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, caps: &Caps) -> Result<(), LoggableError>
fn parent_parse(&self, adapter: &Adapter) -> Result<(u32, u32), FlowError>
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, hard: bool)
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.