An implementation of audio properties for Shorten.
More...
#include <shortenproperties.h>
An implementation of audio properties for Shorten.
◆ Properties() [1/2]
| TagLib::Shorten::Properties::Properties |
( |
const PropertyValues * | values, |
|
|
ReadStyle | style = Average ) |
◆ ~Properties()
| TagLib::Shorten::Properties::~Properties |
( |
| ) |
|
|
override |
◆ Properties() [2/2]
| TagLib::Shorten::Properties::Properties |
( |
const Properties & | | ) |
|
|
delete |
◆ bitrate()
| int TagLib::Shorten::Properties::bitrate |
( |
| ) |
const |
|
overridevirtual |
Returns the most appropriate bit rate for the file in kb/s. For constant bitrate formats this is simply the bitrate of the file. For variable bitrate formats this is either the average or nominal bitrate.
Reimplemented from TagLib::AudioProperties.
◆ bitsPerSample()
| int TagLib::Shorten::Properties::bitsPerSample |
( |
| ) |
const |
◆ channels()
| int TagLib::Shorten::Properties::channels |
( |
| ) |
const |
|
overridevirtual |
◆ fileType()
| int TagLib::Shorten::Properties::fileType |
( |
| ) |
const |
Returns the file type (0-10).
| Value | File type |
| 0 | 8-bit µ-law |
| 1 | signed 8-bit PCM |
| 2 | unsigned 8-bit PCM |
| 3 | signed big-endian 16-bit PCM |
| 4 | unsigned big-endian 16-bit PCM |
| 5 | signed little-endian 16-bit PCM |
| 6 | unsigned little-endian 16-bit PCM |
| 7 | 8-bit ITU-T G.711 µ-law |
| 8 | 8-bit µ-law |
| 9 | 8-bit A-law |
| 10 | 8-bit ITU-T G.711 A-law |
◆ lengthInMilliseconds()
| int TagLib::Shorten::Properties::lengthInMilliseconds |
( |
| ) |
const |
|
overridevirtual |
◆ operator=()
◆ sampleFrames()
| unsigned long TagLib::Shorten::Properties::sampleFrames |
( |
| ) |
const |
◆ sampleRate()
| int TagLib::Shorten::Properties::sampleRate |
( |
| ) |
const |
|
overridevirtual |
◆ shortenVersion()
| int TagLib::Shorten::Properties::shortenVersion |
( |
| ) |
const |
Returns the Shorten file version (1-3).
The documentation for this class was generated from the following file: