An implementation of audio property reading for WAV. More...
#include <wavproperties.h>
Public Member Functions | |
| Properties (File *file, ReadStyle style) | |
| ~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 |
| unsigned int | sampleFrames () const |
| int | format () 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 WAV.
This reads the data from a WAV stream found in the AudioProperties API.
Create an instance of WAV::Properties with the data read from the WAV::File file.
|
override |
Destroys this WAV::Properties instance.
|
delete |
|
overridevirtual |
Returns the average bit rate of the file in kb/s.
Reimplemented from TagLib::AudioProperties.
| int TagLib::RIFF::WAV::Properties::bitsPerSample | ( | ) | const |
Returns the number of bits per audio sample.
|
overridevirtual |
Returns the number of audio channels.
Implements TagLib::AudioProperties.
| int TagLib::RIFF::WAV::Properties::format | ( | ) | const |
Returns the format ID of the file. 0 for unknown, 1 for PCM, 2 for ADPCM, 3 for 32/64-bit IEEE754, and so forth.
|
overridevirtual |
Returns the length of the file in milliseconds.
Reimplemented from TagLib::AudioProperties.
|
delete |
Returns the number of sample frames.
|
overridevirtual |
Returns the sample rate in Hz.
Reimplemented from TagLib::AudioProperties.