[][src]Trait gstreamer_audio::prelude::AudioDecoderExtManual

pub trait AudioDecoderExtManual: 'static {
    fn finish_frame(
        &self,
        buffer: Option<Buffer>,
        frames: i32
    ) -> Result<FlowSuccess, FlowError>;
fn finish_subframe(
        &self,
        buffer: Option<Buffer>
    ) -> Result<FlowSuccess, FlowError>;
fn negotiate(&self) -> Result<(), FlowError>;
fn set_output_caps(&self, caps: &Caps) -> Result<(), FlowError>;
fn set_output_format(&self, info: &AudioInfo) -> Result<(), FlowError>;
fn get_allocator(&self) -> (Option<Allocator>, AllocationParams);
fn error<T: MessageErrorDomain>(
        &self,
        weight: i32,
        code: T,
        message: Option<&str>,
        debug: Option<&str>,
        file: &str,
        function: &str,
        line: u32
    ) -> Result<FlowSuccess, FlowError>; }

Required methods

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

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

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

fn set_output_caps(&self, caps: &Caps) -> Result<(), FlowError>

fn set_output_format(&self, info: &AudioInfo) -> Result<(), FlowError>

fn get_allocator(&self) -> (Option<Allocator>, AllocationParams)

fn error<T: MessageErrorDomain>(
    &self,
    weight: i32,
    code: T,
    message: Option<&str>,
    debug: Option<&str>,
    file: &str,
    function: &str,
    line: u32
) -> Result<FlowSuccess, FlowError>

Loading content...

Implementors

impl<O: IsA<AudioDecoder>> AudioDecoderExtManual for O[src]

Loading content...