![]() |
|
An implementation of audio property reading for APE. More...
#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 |
![]() | |
virtual | ~AudioProperties () |
int | lengthInSeconds () const |
int | lengthInMilliseconds () const |
Additional Inherited Members | |
![]() | |
enum | ReadStyle { Fast, Average, Accurate } |
![]() | |
AudioProperties (ReadStyle style) | |
An implementation of audio property reading for APE.
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 |
Destroys this APE::Properties instance.
|
virtual |
Returns the average bit rate of the file in kb/s.
Implements TagLib::AudioProperties.
int TagLib::APE::Properties::bitsPerSample | ( | ) | const |
Returns the number of bits per audio sample.
|
virtual |
Returns the number of audio channels.
Implements TagLib::AudioProperties.
|
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::lengthInMilliseconds | ( | ) | const |
Returns the length of the file in milliseconds.
int TagLib::APE::Properties::lengthInSeconds | ( | ) | const |
Returns the length of the file in seconds. The length is rounded down to the nearest whole second.
unsigned int TagLib::APE::Properties::sampleFrames | ( | ) | const |
Returns the total number of audio samples in file.
|
virtual |
Returns the sample rate in Hz.
Implements TagLib::AudioProperties.
int TagLib::APE::Properties::version | ( | ) | const |
Returns APE version.