Struct matroska_demuxer::Audio[][src]

pub struct Audio { /* fields omitted */ }

Audio settings.

Implementations

impl Audio[src]

pub fn sampling_frequency(&self) -> f64[src]

Sampling frequency in Hz.

pub fn output_sampling_frequency(&self) -> Option<f64>[src]

Real output sampling frequency in Hz.

pub fn channels(&self) -> NonZeroU64[src]

Numbers of channels in the track.

pub fn bit_depth(&self) -> Option<NonZeroU64>[src]

Bits per sample.

Trait Implementations

impl Clone for Audio[src]

impl Debug for Audio[src]

Auto Trait Implementations

impl RefUnwindSafe for Audio

impl Send for Audio

impl Sync for Audio

impl Unpin for Audio

impl UnwindSafe for Audio

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.