gstreamer_audio::auto::audio_encoder

Trait AudioEncoderExt

Source
pub trait AudioEncoderExt:
    IsA<AudioEncoder>
    + Sealed
    + 'static {
Show 32 methods // Provided methods fn allocate_output_buffer(&self, size: usize) -> Buffer { ... } fn finish_frame( &self, buffer: Option<Buffer>, samples: i32, ) -> Result<FlowSuccess, FlowError> { ... } fn audio_info(&self) -> AudioInfo { ... } fn is_drainable(&self) -> bool { ... } fn frame_max(&self) -> i32 { ... } fn frame_samples_max(&self) -> i32 { ... } fn frame_samples_min(&self) -> i32 { ... } fn is_hard_min(&self) -> bool { ... } fn is_hard_resync(&self) -> bool { ... } fn latency(&self) -> (ClockTime, Option<ClockTime>) { ... } fn lookahead(&self) -> i32 { ... } fn is_mark_granule(&self) -> bool { ... } fn is_perfect_timestamp(&self) -> bool { ... } fn tolerance(&self) -> ClockTime { ... } fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode) { ... } fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps { ... } fn set_allocation_caps(&self, allocation_caps: Option<&Caps>) { ... } fn set_drainable(&self, enabled: bool) { ... } fn set_frame_max(&self, num: i32) { ... } fn set_frame_samples_max(&self, num: i32) { ... } fn set_frame_samples_min(&self, num: i32) { ... } fn set_hard_min(&self, enabled: bool) { ... } fn set_hard_resync(&self, enabled: bool) { ... } fn set_latency(&self, min: ClockTime, max: impl Into<Option<ClockTime>>) { ... } fn set_lookahead(&self, num: i32) { ... } fn set_mark_granule(&self, enabled: bool) { ... } fn set_perfect_timestamp(&self, enabled: bool) { ... } fn set_tolerance(&self, tolerance: ClockTime) { ... } fn connect_hard_resync_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_mark_granule_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_perfect_timestamp_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_tolerance_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn allocate_output_buffer(&self, size: usize) -> Buffer

Source

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

Source

fn audio_info(&self) -> AudioInfo

Source

fn is_drainable(&self) -> bool

Source

fn frame_max(&self) -> i32

Source

fn frame_samples_max(&self) -> i32

Source

fn frame_samples_min(&self) -> i32

Source

fn is_hard_min(&self) -> bool

Source

fn is_hard_resync(&self) -> bool

Source

fn latency(&self) -> (ClockTime, Option<ClockTime>)

Source

fn lookahead(&self) -> i32

Source

fn is_mark_granule(&self) -> bool

Source

fn is_perfect_timestamp(&self) -> bool

Source

fn tolerance(&self) -> ClockTime

Source

fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode)

Source

fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps

Source

fn set_allocation_caps(&self, allocation_caps: Option<&Caps>)

Source

fn set_drainable(&self, enabled: bool)

Source

fn set_frame_max(&self, num: i32)

Source

fn set_frame_samples_max(&self, num: i32)

Source

fn set_frame_samples_min(&self, num: i32)

Source

fn set_hard_min(&self, enabled: bool)

Source

fn set_hard_resync(&self, enabled: bool)

Source

fn set_latency(&self, min: ClockTime, max: impl Into<Option<ClockTime>>)

Source

fn set_lookahead(&self, num: i32)

Source

fn set_mark_granule(&self, enabled: bool)

Source

fn set_perfect_timestamp(&self, enabled: bool)

Source

fn set_tolerance(&self, tolerance: ClockTime)

Source

fn connect_hard_resync_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_mark_granule_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_perfect_timestamp_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_tolerance_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§