Struct taglib::AudioProperties[][src]

pub struct AudioProperties<'a> { /* fields omitted */ }

Common audio file properties.

Instances of AudioProperties can only be created through the taglib::File::audioproperties() method.

Methods

impl<'a> AudioProperties<'a>
[src]

Returns the length, in seconds, of the track.

Returns the most appropriate bit rate for the track, in kB/s. For constant bit rate formats, the returned value is the bit rate of the file; for variable bit rate formats this is either the average or the nominal bit rate.

Returns the sample rate, in Hz.

Returns the number of audio channels.

Auto Trait Implementations

impl<'a> !Send for AudioProperties<'a>

impl<'a> !Sync for AudioProperties<'a>