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

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 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>
[src]

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

This is supported on crate feature v1_16 only.

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

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

This is supported on crate feature v1_16 only.

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

fn allocator(&self) -> (Option<Allocator>, AllocationParams)[src]

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

Loading content...

Implementors

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

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

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

This is supported on crate feature v1_16 only.

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

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

This is supported on crate feature v1_16 only.

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

fn allocator(&self) -> (Option<Allocator>, AllocationParams)[src]

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

Loading content...