|
TagLib
1.13.1
|
An implementation of audio property reading for TrueAudio. More...
#include <trueaudioproperties.h>
Public Member Functions | |
| Properties (const ByteVector &data, long streamLength, ReadStyle style=Average) | |
| virtual | ~Properties () |
| virtual TAGLIB_DEPRECATED 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 | ttaVersion () const |
Public Member Functions inherited from TagLib::AudioProperties | |
| virtual | ~AudioProperties () |
| int | lengthInSeconds () const |
| int | lengthInMilliseconds () 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 TrueAudio.
This reads the data from an TrueAudio stream found in the AudioProperties API.
| TagLib::TrueAudio::Properties::Properties | ( | const ByteVector & | data, |
| long | streamLength, | ||
| ReadStyle | style = Average |
||
| ) |
Create an instance of TrueAudio::Properties with the data read from the ByteVector data.
|
virtual |
Destroys this TrueAudio::Properties instance.
|
virtual |
Returns the average bit rate of the file in kb/s.
Implements TagLib::AudioProperties.
| int TagLib::TrueAudio::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::TrueAudio::Properties::lengthInMilliseconds | ( | ) | const |
Returns the length of the file in milliseconds.
| int TagLib::TrueAudio::Properties::lengthInSeconds | ( | ) | const |
Returns the length of the file in seconds. The length is rounded down to the nearest whole second.
| unsigned int TagLib::TrueAudio::Properties::sampleFrames | ( | ) | const |
Returns the total number of sample frames
|
virtual |
Returns the sample rate in Hz.
Implements TagLib::AudioProperties.
| int TagLib::TrueAudio::Properties::ttaVersion | ( | ) | const |
Returns the major version number.