[−]Struct gstreamer_pbutils::DiscovererAudioInfo
DiscovererStreamInfo
specific to audio streams.
Implements
Methods
impl DiscovererAudioInfo
[src][−]
pub fn get_bitrate(&self) -> u32
[src][−]
Returns
the average or nominal bitrate of the stream in bits/second.
pub fn get_channel_mask(&self) -> u64
[src][−]
Feature: 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][−]
Returns
the number of channels in the stream.
pub fn get_depth(&self) -> u32
[src][−]
Returns
the number of bits used per sample in each channel.
pub fn get_language(&self) -> Option<GString>
[src][−]
Returns
the language of the stream, or NULL if unknown.
pub fn get_max_bitrate(&self) -> u32
[src][−]
Returns
the maximum bitrate of the stream in bits/second.
pub fn get_sample_rate(&self) -> u32
[src][−]
Returns
the sample rate of the stream in Hertz.
Trait Implementations
impl Clone for DiscovererAudioInfo
[+]
impl Debug for DiscovererAudioInfo
[+]
impl Eq for DiscovererAudioInfo
impl Hash for DiscovererAudioInfo
[+]
impl IsA<DiscovererStreamInfo> for DiscovererAudioInfo
impl Ord for DiscovererAudioInfo
[+]
impl<T: ObjectType> PartialEq<T> for DiscovererAudioInfo
[+]
impl<T: ObjectType> PartialOrd<T> for DiscovererAudioInfo
[+]
impl Send for DiscovererAudioInfo
[src]
impl StaticType for DiscovererAudioInfo
[+]
impl Sync for DiscovererAudioInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for DiscovererAudioInfo
impl Unpin for DiscovererAudioInfo
impl UnwindSafe for DiscovererAudioInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Super, Sub> CanDowncast<Sub> for Super where
Sub: IsA<Super>,
Super: IsA<Super>,
[src]
Sub: IsA<Super>,
Super: IsA<Super>,
impl<T> Cast for T where
T: ObjectType,
[src][+]
T: ObjectType,
impl<T> From<T> for T
[src][+]
impl<O> GObjectExtManualGst for O where
O: IsA<Object>,
[src][+]
O: IsA<Object>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ObjectExt for T where
T: ObjectType,
[src][+]
T: ObjectType,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src][+]
T: ToValue + SetValue + Send + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src][+]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,