![]() |
|
#include <apeproperties.h>
Public Member Functions | |
Properties (File *file, ReadStyle style=Average) | |
Properties (File *file, long streamLength, ReadStyle style=Average) | |
virtual | ~Properties () |
virtual int | length () const |
int | lengthInSeconds () const |
int | lengthInMilliseconds () const |
virtual int | bitrate () const |
virtual int | sampleRate () const |
virtual int | channels () const |
int | bitsPerSample () const |
unsigned int | sampleFrames () const |
int | version () const |
This reads the data from an APE stream found in the AudioProperties API.
Create an instance of APE::Properties with the data read from the APE::File file.
Create an instance of APE::Properties with the data read from the APE::File file.
virtual TagLib::APE::Properties::~Properties | ( | ) | [virtual] |
Destroys this APE::Properties instance.
virtual int TagLib::APE::Properties::length | ( | ) | const [virtual] |
Returns the length of the file in seconds. The length is rounded down to the nearest whole second.
Implements TagLib::AudioProperties.
int TagLib::APE::Properties::lengthInSeconds | ( | ) | const |
Returns the length of the file in seconds. The length is rounded down to the nearest whole second.
Reimplemented from TagLib::AudioProperties.
int TagLib::APE::Properties::lengthInMilliseconds | ( | ) | const |
Returns the length of the file in milliseconds.
Reimplemented from TagLib::AudioProperties.
virtual int TagLib::APE::Properties::bitrate | ( | ) | const [virtual] |
Returns the average bit rate of the file in kb/s.
Implements TagLib::AudioProperties.
virtual int TagLib::APE::Properties::sampleRate | ( | ) | const [virtual] |
Returns the sample rate in Hz.
Implements TagLib::AudioProperties.
virtual int TagLib::APE::Properties::channels | ( | ) | const [virtual] |
Returns the number of audio channels.
Implements TagLib::AudioProperties.
int TagLib::APE::Properties::bitsPerSample | ( | ) | const |
Returns the number of bits per audio sample.
unsigned int TagLib::APE::Properties::sampleFrames | ( | ) | const |
Returns the total number of audio samples in file.
int TagLib::APE::Properties::version | ( | ) | const |
Returns APE version.