Trait gstreamer_audio::prelude::AudioBaseSrcExt [−][src]
pub trait AudioBaseSrcExt: 'static {}Show 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
Required methods
fn is_provide_clock(&self) -> bool
[src]
fn is_provide_clock(&self) -> bool
[src]fn set_provide_clock(&self, provide: bool)
[src]
fn set_provide_clock(&self, provide: bool)
[src]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
fn actual_buffer_time(&self) -> i64
[src]
fn actual_buffer_time(&self) -> i64
[src]Actual configured size of audio buffer in microseconds.
fn actual_latency_time(&self) -> i64
[src]
fn actual_latency_time(&self) -> i64
[src]Actual configured audio latency in microseconds.
fn buffer_time(&self) -> i64
[src]fn set_buffer_time(&self, buffer_time: i64)
[src]fn latency_time(&self) -> i64
[src]fn set_latency_time(&self, latency_time: i64)
[src]fn connect_actual_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_actual_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_provide_clock_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_slave_method_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]Implementors
fn connect_actual_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_actual_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_provide_clock_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_slave_method_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]