An implementation of audio property reading for WavPack.
More...
#include <wavpackproperties.h>
An implementation of audio property reading for WavPack.
This reads the data from an WavPack stream found in the AudioProperties API.
§ Properties() [1/2]
§ Properties() [2/2]
TagLib::WavPack::Properties::Properties |
( |
File * |
file, |
|
|
long |
streamLength, |
|
|
ReadStyle |
style = Average |
|
) |
| |
§ ~Properties()
virtual TagLib::WavPack::Properties::~Properties |
( |
| ) |
|
|
virtual |
§ bitrate()
virtual int TagLib::WavPack::Properties::bitrate |
( |
| ) |
const |
|
virtual |
§ bitsPerSample()
int TagLib::WavPack::Properties::bitsPerSample |
( |
| ) |
const |
Returns the number of bits per audio sample.
§ channels()
virtual int TagLib::WavPack::Properties::channels |
( |
| ) |
const |
|
virtual |
§ isLossless()
bool TagLib::WavPack::Properties::isLossless |
( |
| ) |
const |
Returns whether or not the file is lossless encoded.
§ length()
virtual int TagLib::WavPack::Properties::length |
( |
| ) |
const |
|
virtual |
§ lengthInMilliseconds()
int TagLib::WavPack::Properties::lengthInMilliseconds |
( |
| ) |
const |
§ lengthInSeconds()
int TagLib::WavPack::Properties::lengthInSeconds |
( |
| ) |
const |
Returns the length of the file in seconds. The length is rounded down to the nearest whole second.
- See also
- lengthInMilliseconds()
§ sampleFrames()
unsigned int TagLib::WavPack::Properties::sampleFrames |
( |
| ) |
const |
Returns the total number of audio samples in file.
§ sampleRate()
virtual int TagLib::WavPack::Properties::sampleRate |
( |
| ) |
const |
|
virtual |
§ version()
int TagLib::WavPack::Properties::version |
( |
| ) |
const |
The documentation for this class was generated from the following file: