pub trait AudioBaseSrcExt: IsA<AudioBaseSrc> + Sealed + 'static {
Show 14 methods // Provided methods fn is_provide_clock(&self) -> bool { ... } fn set_provide_clock(&self, provide: bool) { ... } fn actual_buffer_time(&self) -> i64 { ... } fn actual_latency_time(&self) -> i64 { ... } fn buffer_time(&self) -> i64 { ... } fn set_buffer_time(&self, buffer_time: i64) { ... } fn latency_time(&self) -> i64 { ... } fn set_latency_time(&self, latency_time: i64) { ... } fn connect_actual_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_actual_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_provide_clock_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_slave_method_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all AudioBaseSrc methods.

§Implementors

AudioBaseSrc, AudioSrc

Provided Methods§

source

fn is_provide_clock(&self) -> bool

Queries whether self will provide a clock or not. See also gst_audio_base_src_set_provide_clock.

§Returns

true if self will provide a clock.

source

fn set_provide_clock(&self, provide: bool)

Controls whether self will provide a clock or not. If provide is true, [ElementExtManual::provide_clock()][crate::gst::prelude::ElementExtManual::provide_clock()] will return a clock that reflects the datarate of self. If provide is false, [ElementExtManual::provide_clock()][crate::gst::prelude::ElementExtManual::provide_clock()] will return NULL.

§provide

new state

source

fn actual_buffer_time(&self) -> i64

Actual configured size of audio buffer in microseconds.

source

fn actual_latency_time(&self) -> i64

Actual configured audio latency in microseconds.

source

fn buffer_time(&self) -> i64

source

fn set_buffer_time(&self, buffer_time: i64)

source

fn latency_time(&self) -> i64

source

fn set_latency_time(&self, latency_time: i64)

source

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

source

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

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§