Struct ogg_metadata::VorbisMetadata [] [src]

pub struct VorbisMetadata {
    pub channels: u8,
    pub sample_rate: u32,
    pub length_in_samples: u64,
}

Metadata for the Vorbis audio codec.

Fields

channels: u8 sample_rate: u32 length_in_samples: u64

Methods

impl Metadata
[src]

fn get_duration(&self) -> Duration

Returns the duration of the vorbis audio piece.

Trait Implementations

impl Debug for Metadata
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.