[−][src]Trait gstreamer_audio::prelude::StreamVolumeExt
Required methods
fn get_mute(&self) -> bool
Returns
Returns true
if the stream is muted
fn get_volume(&self, format: StreamVolumeFormat) -> f64
format
StreamVolumeFormat
which should be returned
Returns
The current stream volume as linear factor
fn set_mute(&self, mute: bool)
mute
Mute state that should be set
fn set_volume(&self, format: StreamVolumeFormat, val: f64)
fn connect_property_mute_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_volume_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<StreamVolume>> StreamVolumeExt for O
[src]
fn get_mute(&self) -> bool
[src]
fn get_volume(&self, format: StreamVolumeFormat) -> f64
[src]
fn set_mute(&self, mute: bool)
[src]
fn set_volume(&self, format: StreamVolumeFormat, val: f64)
[src]
fn connect_property_mute_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_volume_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId