Trait gstreamer_audio::prelude::AudioEncoderExtManual[][src]

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 allocator(&self) -> (Option<Allocator>, AllocationParams);
fn latency(&self) -> (ClockTime, ClockTime); }

Required methods

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

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

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

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

fn latency(&self) -> (ClockTime, ClockTime)[src]

Loading content...

Implementors

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

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

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

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

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

fn latency(&self) -> (ClockTime, ClockTime)[src]

Loading content...