[][src]Trait gstreamer_audio::AudioBaseSrcExt

pub trait AudioBaseSrcExt: 'static {
    fn get_provide_clock(&self) -> bool;
fn set_provide_clock(&self, provide: bool);
fn get_property_actual_buffer_time(&self) -> i64;
fn get_property_actual_latency_time(&self) -> i64;
fn get_property_buffer_time(&self) -> i64;
fn set_property_buffer_time(&self, buffer_time: i64);
fn get_property_latency_time(&self) -> i64;
fn set_property_latency_time(&self, latency_time: i64);
fn connect_property_actual_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_actual_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_buffer_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_latency_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_provide_clock_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_slave_method_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all AudioBaseSrc methods.

Implementors

AudioBaseSrc, AudioSrc

Required methods

fn get_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.

fn set_provide_clock(&self, provide: bool)

Controls whether self will provide a clock or not. If provide is true, gst::ElementExt::provide_clock will return a clock that reflects the datarate of self. If provide is false, gst::ElementExt::provide_clock will return NULL.

provide

new state

fn get_property_actual_buffer_time(&self) -> i64

Actual configured size of audio buffer in microseconds.

fn get_property_actual_latency_time(&self) -> i64

Actual configured audio latency in microseconds.

fn get_property_buffer_time(&self) -> i64

fn set_property_buffer_time(&self, buffer_time: i64)

fn get_property_latency_time(&self) -> i64

fn set_property_latency_time(&self, latency_time: i64)

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O[src]

Loading content...