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

Object Safety§

This trait is not object safe.

Implementors§