Trait gstreamer_audio::subclass::prelude::AudioEncoderImpl[][src]

pub trait AudioEncoderImpl: AudioEncoderImplExt + 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,
        info: &AudioInfo
    ) -> Result<(), LoggableError> { ... }
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) { ... }
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> { ... }
}

Provided methods

fn open(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn close(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn start(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn stop(&self, element: &Self::Type) -> Result<(), ErrorMessage>[src]

fn set_format(
    &self,
    element: &Self::Type,
    info: &AudioInfo
) -> Result<(), LoggableError>
[src]

fn handle_frame(
    &self,
    element: &Self::Type,
    buffer: Option<&Buffer>
) -> Result<FlowSuccess, FlowError>
[src]

fn pre_push(
    &self,
    element: &Self::Type,
    buffer: Buffer
) -> Result<Option<Buffer>, FlowError>
[src]

fn flush(&self, element: &Self::Type)[src]

fn negotiate(&self, element: &Self::Type) -> Result<(), LoggableError>[src]

fn caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Caps[src]

fn sink_event(&self, element: &Self::Type, event: Event) -> bool[src]

fn sink_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool[src]

fn src_event(&self, element: &Self::Type, event: Event) -> bool[src]

fn src_query(&self, element: &Self::Type, query: &mut QueryRef) -> bool[src]

fn propose_allocation(
    &self,
    element: &Self::Type,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]

fn decide_allocation(
    &self,
    element: &Self::Type,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>
[src]

Loading content...

Implementors

Loading content...