|
|
An implementation of ASF audio properties. More...
#include <asfproperties.h>


Public Types | |
| enum | Codec { Unknown = 0, WMA1, WMA2, WMA9Pro, WMA9Lossless } |
Public Member Functions | |
| Properties () | |
| 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 |
| Codec | codec () const |
| String | codecName () const |
| String | codecDescription () const |
| bool | isEncrypted () const |
An implementation of ASF audio properties.
Audio codec types can be used in ASF file.
Creates an instance of ASF::Properties.
| virtual TagLib::ASF::Properties::~Properties | ( | ) | [virtual] |
Destroys this ASF::Properties instance.
| virtual int TagLib::ASF::Properties::bitrate | ( | ) | const [virtual] |
Returns the average bit rate of the file in kb/s.
Implements TagLib::AudioProperties.
| int TagLib::ASF::Properties::bitsPerSample | ( | ) | const |
Returns the number of bits per audio sample.
| virtual int TagLib::ASF::Properties::channels | ( | ) | const [virtual] |
Returns the number of audio channels.
Implements TagLib::AudioProperties.
| Codec TagLib::ASF::Properties::codec | ( | ) | const |
Returns the codec used in the file.
Returns the codec description, typically contains the encoder settings, for example "VBR Quality 50, 44kHz, stereo 1-pass VBR" if available, otherwise an empty string.
| String TagLib::ASF::Properties::codecName | ( | ) | const |
Returns the concrete codec name, for example "Windows Media Audio 9.1" used in the file if available, otherwise an empty string.
| bool TagLib::ASF::Properties::isEncrypted | ( | ) | const |
Returns whether or not the file is encrypted.
| virtual int TagLib::ASF::Properties::length | ( | ) | const [virtual] |
Returns the length of the file in seconds. The length is rounded down to the nearest whole second.
Implements TagLib::AudioProperties.
| int TagLib::ASF::Properties::lengthInMilliseconds | ( | ) | const |
Returns the length of the file in milliseconds.
Reimplemented from TagLib::AudioProperties.
| int TagLib::ASF::Properties::lengthInSeconds | ( | ) | const |
Returns the length of the file in seconds. The length is rounded down to the nearest whole second.
Reimplemented from TagLib::AudioProperties.
| virtual int TagLib::ASF::Properties::sampleRate | ( | ) | const [virtual] |
Returns the sample rate in Hz.
Implements TagLib::AudioProperties.