|
|
An implementation of MP4 audio properties. More...
#include <mp4properties.h>


Public Member Functions | |
| Properties (File *file, Atoms *atoms, ReadStyle style=Average) | |
| virtual | ~Properties () |
| virtual int | length () const |
| virtual int | bitrate () const |
| virtual int | sampleRate () const |
| virtual int | channels () const |
| virtual int | bitsPerSample () const |
An implementation of MP4 audio properties.
| virtual TagLib::MP4::Properties::~Properties | ( | ) | [virtual] |
| virtual int TagLib::MP4::Properties::bitrate | ( | ) | const [virtual] |
Returns the most appropriate bit rate for the file in kb/s. For constant bitrate formats this is simply the bitrate of the file. For variable bitrate formats this is either the average or nominal bitrate.
Implements TagLib::AudioProperties.
| virtual int TagLib::MP4::Properties::bitsPerSample | ( | ) | const [virtual] |
| virtual int TagLib::MP4::Properties::channels | ( | ) | const [virtual] |
Returns the number of audio channels.
Implements TagLib::AudioProperties.
| virtual int TagLib::MP4::Properties::length | ( | ) | const [virtual] |
Returns the length of the file in seconds.
Implements TagLib::AudioProperties.
| virtual int TagLib::MP4::Properties::sampleRate | ( | ) | const [virtual] |
Returns the sample rate in Hz.
Implements TagLib::AudioProperties.