Struct gstreamer_pbutils::DiscovererAudioInfo [−]
pub struct DiscovererAudioInfo(_, _);
DiscovererStreamInfo specific to audio streams.
Implements
Methods
impl DiscovererAudioInfo[src]
impl DiscovererAudioInfopub fn get_bitrate(&self) -> u32[src]
pub fn get_bitrate(&self) -> u32Returns
the average or nominal bitrate of the stream in bits/second.
pub fn get_channel_mask(&self) -> u64[src]
pub fn get_channel_mask(&self) -> u64Feature: v1_14
Returns
the channel-mask of the stream, refer to
gst_audio_channel_positions_from_mask for more
information.
pub fn get_channels(&self) -> u32[src]
pub fn get_channels(&self) -> u32Returns
the number of channels in the stream.
pub fn get_depth(&self) -> u32[src]
pub fn get_depth(&self) -> u32Returns
the number of bits used per sample in each channel.
pub fn get_language(&self) -> Option<String>[src]
pub fn get_language(&self) -> Option<String>Returns
the language of the stream, or NULL if unknown.
pub fn get_max_bitrate(&self) -> u32[src]
pub fn get_max_bitrate(&self) -> u32Returns
the maximum bitrate of the stream in bits/second.
pub fn get_sample_rate(&self) -> u32[src]
pub fn get_sample_rate(&self) -> u32Returns
the sample rate of the stream in Hertz.
Trait Implementations
impl Clone for DiscovererAudioInfo
impl Clone for DiscovererAudioInfofn clone(&self) -> DiscovererAudioInfo
fn clone(&self) -> DiscovererAudioInfoReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Hash for DiscovererAudioInfo
impl Hash for DiscovererAudioInfofn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Ord for DiscovererAudioInfo
impl Ord for DiscovererAudioInfofn cmp(&self, other: &DiscovererAudioInfo) -> Ordering
fn cmp(&self, other: &DiscovererAudioInfo) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl StaticType for DiscovererAudioInfo
impl StaticType for DiscovererAudioInfofn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for DiscovererAudioInfo
impl<T: IsA<Object>> PartialEq<T> for DiscovererAudioInfofn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for DiscovererAudioInfo
impl Eq for DiscovererAudioInfoimpl<T: IsA<Object>> PartialOrd<T> for DiscovererAudioInfo
impl<T: IsA<Object>> PartialOrd<T> for DiscovererAudioInfofn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for DiscovererAudioInfo
impl Debug for DiscovererAudioInfoimpl IsA<DiscovererStreamInfo> for DiscovererAudioInfo
impl IsA<DiscovererStreamInfo> for DiscovererAudioInfoimpl IsA<Object> for DiscovererAudioInfo
impl IsA<Object> for DiscovererAudioInfoimpl Send for DiscovererAudioInfo[src]
impl Send for DiscovererAudioInfoimpl Sync for DiscovererAudioInfo[src]
impl Sync for DiscovererAudioInfo