TagLib::MPEG::Properties Class Reference
An implementation of audio property reading for MP3.
More...
#include <mpegproperties.h>
Inheritance diagram for TagLib::MPEG::Properties:
List of all members.
Detailed Description
An implementation of audio property reading for MP3.
This reads the data from an MPEG Layer III stream found in the AudioProperties API.
Definition at line 42 of file mpegproperties.h.
Constructor & Destructor Documentation
TagLib::MPEG::Properties::Properties |
( |
File * |
file, |
|
|
ReadStyle |
style = Average |
|
) |
|
|
virtual TagLib::MPEG::Properties::~Properties |
( |
|
) |
[virtual] |
|
Member Function Documentation
virtual int TagLib::MPEG::Properties::length |
( |
|
) |
const [virtual] |
|
virtual int TagLib::MPEG::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::MPEG::Properties::sampleRate |
( |
|
) |
const [virtual] |
|
virtual int TagLib::MPEG::Properties::channels |
( |
|
) |
const [virtual] |
|
|
Returns the MPEG Version of the file. |
int TagLib::MPEG::Properties::layer |
( |
|
) |
const |
|
|
Returns the layer version. This will be between the values 1-3. |
bool TagLib::MPEG::Properties::protectionEnabled |
( |
|
) |
const |
|
|
Returns true if the MPEG protection bit is enabled. |
|
Returns the channel mode for this frame. |
bool TagLib::MPEG::Properties::isCopyrighted |
( |
|
) |
const |
|
|
Returns true if the copyrighted bit is set. |
bool TagLib::MPEG::Properties::isOriginal |
( |
|
) |
const |
|
|
Returns true if the "original" bit is set. |
The documentation for this class was generated from the following file:
This file is part of the documentation for TagLib Version 1.0.