pub trait AudioDecoderImpl: AudioDecoderImplExt + ElementImpl {
Show methods
fn open(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn close(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn start(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn stop(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn set_format(
&self,
element: &Self::Type,
caps: &Caps
) -> Result<(), LoggableError> { ... }
fn parse(
&self,
element: &Self::Type,
adapter: &Adapter
) -> Result<(u32, u32), FlowError> { ... }
fn handle_frame(
&self,
element: &Self::Type,
buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError> { ... }
fn pre_push(
&self,
element: &Self::Type,
buffer: Buffer
) -> Result<Option<Buffer>, FlowError> { ... }
fn flush(&self, element: &Self::Type, hard: bool) { ... }
fn negotiate(&self, element: &Self::Type) -> Result<(), LoggableError> { ... }
fn caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Caps { ... }
fn sink_event(&self, element: &Self::Type, event: Event) -> bool { ... }
fn sink_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool { ... }
fn src_event(&self, element: &Self::Type, event: Event) -> bool { ... }
fn src_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool { ... }
fn propose_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage> { ... }
fn decide_allocation(
&self,
element: &Self::Type,
query: &mut QueryRef
) -> Result<(), ErrorMessage> { ... }
}