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;
Required methods
fn is_provide_clock(&self) -> bool
[src]
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.
fn set_provide_clock(&self, provide: bool)
[src]
Controls whether self
will provide a clock or not. If provide
is true
,
crate::gst::prelude::ElementExt::provide_clock()
will return a clock that reflects the datarate
of self
. If provide
is false
, crate::gst::prelude::ElementExt::provide_clock()
will return NULL.
provide
new state
fn actual_buffer_time(&self) -> i64
[src]
fn actual_latency_time(&self) -> i64
[src]
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]
&self,
f: F
) -> SignalHandlerId
fn connect_actual_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_provide_clock_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_slave_method_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O
[src]
impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O
[src]fn is_provide_clock(&self) -> bool
[src]
fn set_provide_clock(&self, provide: bool)
[src]
fn actual_buffer_time(&self) -> i64
[src]
fn actual_latency_time(&self) -> i64
[src]
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]
&self,
f: F
) -> SignalHandlerId
fn connect_actual_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_provide_clock_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_slave_method_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId