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

pub trait AudioEncoderImplExt {
    fn parent_open(&self, element: &AudioEncoder) -> Result<(), ErrorMessage>;
fn parent_close(&self, element: &AudioEncoder) -> Result<(), ErrorMessage>;
fn parent_start(&self, element: &AudioEncoder) -> Result<(), ErrorMessage>;
fn parent_stop(&self, element: &AudioEncoder) -> Result<(), ErrorMessage>;
fn parent_set_format(
        &self,
        element: &AudioEncoder,
        info: &AudioInfo
    ) -> Result<(), LoggableError>;
fn parent_handle_frame(
        &self,
        element: &AudioEncoder,
        buffer: Option<&Buffer>
    ) -> Result<FlowSuccess, FlowError>;
fn parent_pre_push(
        &self,
        element: &AudioEncoder,
        buffer: Buffer
    ) -> Result<Option<Buffer>, FlowError>;
fn parent_flush(&self, element: &AudioEncoder);
fn parent_negotiate(
        &self,
        element: &AudioEncoder
    ) -> Result<(), LoggableError>;
fn parent_get_caps(
        &self,
        element: &AudioEncoder,
        filter: Option<&Caps>
    ) -> Caps;
fn parent_sink_event(&self, element: &AudioEncoder, event: Event) -> bool;
fn parent_sink_query(
        &self,
        element: &AudioEncoder,
        query: &mut QueryRef
    ) -> bool;
fn parent_src_event(&self, element: &AudioEncoder, event: Event) -> bool;
fn parent_src_query(
        &self,
        element: &AudioEncoder,
        query: &mut QueryRef
    ) -> bool;
fn parent_propose_allocation(
        &self,
        element: &AudioEncoder,
        query: &mut QueryRef
    ) -> Result<(), ErrorMessage>;
fn parent_decide_allocation(
        &self,
        element: &AudioEncoder,
        query: &mut QueryRef
    ) -> Result<(), ErrorMessage>; }

Required methods

fn parent_open(&self, element: &AudioEncoder) -> Result<(), ErrorMessage>

fn parent_close(&self, element: &AudioEncoder) -> Result<(), ErrorMessage>

fn parent_start(&self, element: &AudioEncoder) -> Result<(), ErrorMessage>

fn parent_stop(&self, element: &AudioEncoder) -> Result<(), ErrorMessage>

fn parent_set_format(
    &self,
    element: &AudioEncoder,
    info: &AudioInfo
) -> Result<(), LoggableError>

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

fn parent_pre_push(
    &self,
    element: &AudioEncoder,
    buffer: Buffer
) -> Result<Option<Buffer>, FlowError>

fn parent_flush(&self, element: &AudioEncoder)

fn parent_negotiate(&self, element: &AudioEncoder) -> Result<(), LoggableError>

fn parent_get_caps(&self, element: &AudioEncoder, filter: Option<&Caps>) -> Caps

fn parent_sink_event(&self, element: &AudioEncoder, event: Event) -> bool

fn parent_sink_query(
    &self,
    element: &AudioEncoder,
    query: &mut QueryRef
) -> bool

fn parent_src_event(&self, element: &AudioEncoder, event: Event) -> bool

fn parent_src_query(&self, element: &AudioEncoder, query: &mut QueryRef) -> bool

fn parent_propose_allocation(
    &self,
    element: &AudioEncoder,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>

fn parent_decide_allocation(
    &self,
    element: &AudioEncoder,
    query: &mut QueryRef
) -> Result<(), ErrorMessage>

Loading content...

Implementors

impl<T: AudioEncoderImpl + ObjectImpl> AudioEncoderImplExt for T[src]

Loading content...