Trait gstreamer_audio::subclass::prelude::AudioDecoderImpl

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

Provided Methods§

source

fn open(&self) -> Result<(), ErrorMessage>

source

fn close(&self) -> Result<(), ErrorMessage>

source

fn start(&self) -> Result<(), ErrorMessage>

source

fn stop(&self) -> Result<(), ErrorMessage>

source

fn set_format(&self, caps: &Caps) -> Result<(), LoggableError>

source

fn parse(&self, adapter: &Adapter) -> Result<(u32, u32), FlowError>

source

fn handle_frame( &self, buffer: Option<&Buffer>, ) -> Result<FlowSuccess, FlowError>

source

fn pre_push(&self, buffer: Buffer) -> Result<Option<Buffer>, FlowError>

source

fn flush(&self, hard: bool)

source

fn negotiate(&self) -> Result<(), LoggableError>

source

fn caps(&self, filter: Option<&Caps>) -> Caps

source

fn sink_event(&self, event: Event) -> bool

source

fn sink_query(&self, query: &mut QueryRef) -> bool

source

fn src_event(&self, event: Event) -> bool

source

fn src_query(&self, query: &mut QueryRef) -> bool

source

fn propose_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>

source

fn decide_allocation(&self, query: &mut Allocation) -> Result<(), LoggableError>

Object Safety§

This trait is not object safe.

Implementors§