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]
&self,
buffer: Option<Buffer>,
frames: i32
) -> Result<FlowSuccess, FlowError>
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]
Implementors
impl<O: IsA<AudioEncoder>> AudioEncoderExtManual for O
[src]
impl<O: IsA<AudioEncoder>> AudioEncoderExtManual for O
[src]fn finish_frame(
&self,
buffer: Option<Buffer>,
frames: i32
) -> Result<FlowSuccess, FlowError>
[src]
&self,
buffer: Option<Buffer>,
frames: i32
) -> Result<FlowSuccess, FlowError>