Trait gstreamer_audio::auto::audio_encoder::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§
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 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
Object Safety§
This trait is not object safe.