#include <mpegproperties.h>
Inheritance diagram for TagLib::MPEG::Properties:
Public Member Functions | |
Properties (File *file, ReadStyle style=Average) | |
virtual | ~Properties () |
virtual int | length () const |
virtual int | bitrate () const |
virtual int | sampleRate () const |
virtual int | channels () const |
Header::Version | version () const |
int | layer () const |
bool | protectionEnabled () const |
Header::ChannelMode | channelMode () const |
bool | isCopyrighted () const |
bool | isOriginal () const |
This reads the data from an MPEG Layer III stream found in the AudioProperties API.
|
Create an instance of MPEG::Properties with the data read from the MPEG::File file. |
|
Destroys this MPEG Properties instance. |
|
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. |
|
Returns the channel mode for this frame. |
|
Returns the number of audio channels. Implements TagLib::AudioProperties. |
|
Returns true if the copyrighted bit is set. |
|
Returns true if the "original" bit is set. |
|
Returns the layer version. This will be between the values 1-3. |
|
Returns the lenght of the file in seconds. Implements TagLib::AudioProperties. |
|
Returns true if the MPEG protection bit is enabled. |
|
Returns the sample rate in Hz. Implements TagLib::AudioProperties. |
|
Returns the MPEG Version of the file. |