[][src]Trait gstreamer_audio::StreamVolumeExt

pub trait StreamVolumeExt: 'static {
    pub fn get_mute(&self) -> bool;
pub fn get_volume(&self, format: StreamVolumeFormat) -> f64;
pub fn set_mute(&self, mute: bool);
pub fn set_volume(&self, format: StreamVolumeFormat, val: f64);
pub fn connect_property_mute_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_volume_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

pub fn get_mute(&self) -> bool[src]

pub fn get_volume(&self, format: StreamVolumeFormat) -> f64[src]

pub fn set_mute(&self, mute: bool)[src]

pub fn set_volume(&self, format: StreamVolumeFormat, val: f64)[src]

pub fn connect_property_mute_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_volume_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<StreamVolume>> StreamVolumeExt for O[src]

Loading content...