An implementation of audio property reading for WavPack. More...
#include <wavpackproperties.h>
Public Member Functions | |
| Properties (File *file, offset_t streamLength, ReadStyle style=Average) | |
| ~Properties () override | |
| Properties (const Properties &)=delete | |
| Properties & | operator= (const Properties &)=delete |
| int | lengthInMilliseconds () const override |
| int | bitrate () const override |
| int | sampleRate () const override |
| int | channels () const override |
| int | bitsPerSample () const |
| bool | isLossless () const |
| unsigned int | sampleFrames () const |
| int | version () const |
Public Member Functions inherited from TagLib::AudioProperties | |
| virtual | ~AudioProperties () |
| AudioProperties (const AudioProperties &)=delete | |
| AudioProperties & | operator= (const AudioProperties &)=delete |
| virtual TAGLIB_DEPRECATED int | length () const |
| virtual int | lengthInSeconds () const |
Additional Inherited Members | |
Public Types inherited from TagLib::AudioProperties | |
| enum | ReadStyle { Fast , Average , Accurate } |
Protected Member Functions inherited from TagLib::AudioProperties | |
| AudioProperties (ReadStyle style) | |
An implementation of audio property reading for WavPack.
This reads the data from a WavPack stream found in the AudioProperties API.
| TagLib::WavPack::Properties::Properties | ( | File * | file, |
| offset_t | streamLength, | ||
| ReadStyle | style = Average |
||
| ) |
Create an instance of WavPack::Properties.
|
override |
Destroys this WavPack::Properties instance.
|
delete |
|
overridevirtual |
Returns the average bit rate of the file in kb/s.
Reimplemented from TagLib::AudioProperties.
| int TagLib::WavPack::Properties::bitsPerSample | ( | ) | const |
Returns the number of bits per audio sample.
|
overridevirtual |
Returns the number of audio channels.
Implements TagLib::AudioProperties.
| bool TagLib::WavPack::Properties::isLossless | ( | ) | const |
Returns whether or not the file is lossless encoded.
|
overridevirtual |
Returns the length of the file in milliseconds.
Reimplemented from TagLib::AudioProperties.
|
delete |
Returns the total number of audio samples in file.
|
overridevirtual |
Returns the sample rate in Hz. 0 means unknown or custom.
Reimplemented from TagLib::AudioProperties.