Trait gstreamer_audio::prelude::AudioBaseSrcExt
source · 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
Provided Methods§
sourcefn is_provide_clock(&self) -> bool
fn is_provide_clock(&self) -> bool
sourcefn set_provide_clock(&self, provide: bool)
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
sourcefn actual_buffer_time(&self) -> i64
fn actual_buffer_time(&self) -> i64
Actual configured size of audio buffer in microseconds.
sourcefn actual_latency_time(&self) -> i64
fn actual_latency_time(&self) -> i64
Actual configured audio latency in microseconds.
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
Object Safety§
This trait is not object safe.