[][src]Trait gstreamer_audio::AudioEncoderExtManual

pub trait AudioEncoderExtManual: 'static {
    fn finish_frame(
        &self,
        buffer: Option<Buffer>,
        frames: i32
    ) -> Result<FlowSuccess, FlowError>;
fn negotiate(&self) -> Result<(), FlowError>;
fn set_output_format(&self, caps: &Caps) -> Result<(), FlowError>;
fn get_allocator(&self) -> (Option<Allocator>, AllocationParams);
fn get_latency(&self) -> (ClockTime, ClockTime); }

Required methods

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

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

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

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

fn get_latency(&self) -> (ClockTime, ClockTime)

Loading content...

Implementors

impl<O: IsA<AudioEncoder>> AudioEncoderExtManual for O[src]

Loading content...