![]() |
|
#include <xmproperties.h>
Public Types | |
enum | { LinearFreqTable = 1 } |
Public Member Functions | |
Properties (AudioProperties::ReadStyle propertiesStyle) | |
virtual | ~Properties () |
int | length () const |
int | bitrate () const |
int | sampleRate () const |
int | channels () const |
ushort | lengthInPatterns () const |
ushort | version () const |
ushort | restartPosition () const |
ushort | patternCount () const |
ushort | instrumentCount () const |
uint | sampleCount () const |
ushort | flags () const |
ushort | tempo () const |
ushort | bpmSpeed () const |
void | setChannels (int channels) |
void | setLengthInPatterns (ushort lengthInPatterns) |
void | setVersion (ushort version) |
void | setRestartPosition (ushort restartPosition) |
void | setPatternCount (ushort patternCount) |
void | setInstrumentCount (ushort instrumentCount) |
void | setSampleCount (uint sampleCount) |
void | setFlags (ushort flags) |
void | setTempo (ushort tempo) |
void | setBpmSpeed (ushort bpmSpeed) |
Friends | |
class | File |
TagLib::XM::Properties::Properties | ( | AudioProperties::ReadStyle | propertiesStyle | ) |
virtual TagLib::XM::Properties::~Properties | ( | ) | [virtual] |
int TagLib::XM::Properties::bitrate | ( | ) | const [virtual] |
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.
Implements TagLib::AudioProperties.
ushort TagLib::XM::Properties::bpmSpeed | ( | ) | const |
int TagLib::XM::Properties::channels | ( | ) | const [virtual] |
Returns the number of audio channels.
Implements TagLib::AudioProperties.
ushort TagLib::XM::Properties::flags | ( | ) | const |
int TagLib::XM::Properties::length | ( | ) | const [virtual] |
Returns the length of the file in seconds.
Implements TagLib::AudioProperties.
ushort TagLib::XM::Properties::patternCount | ( | ) | const |
uint TagLib::XM::Properties::sampleCount | ( | ) | const |
int TagLib::XM::Properties::sampleRate | ( | ) | const [virtual] |
Returns the sample rate in Hz.
Implements TagLib::AudioProperties.
void TagLib::XM::Properties::setBpmSpeed | ( | ushort | bpmSpeed | ) |
void TagLib::XM::Properties::setChannels | ( | int | channels | ) |
void TagLib::XM::Properties::setFlags | ( | ushort | flags | ) |
void TagLib::XM::Properties::setInstrumentCount | ( | ushort | instrumentCount | ) |
void TagLib::XM::Properties::setLengthInPatterns | ( | ushort | lengthInPatterns | ) |
void TagLib::XM::Properties::setPatternCount | ( | ushort | patternCount | ) |
void TagLib::XM::Properties::setRestartPosition | ( | ushort | restartPosition | ) |
void TagLib::XM::Properties::setSampleCount | ( | uint | sampleCount | ) |
void TagLib::XM::Properties::setTempo | ( | ushort | tempo | ) |
void TagLib::XM::Properties::setVersion | ( | ushort | version | ) |
ushort TagLib::XM::Properties::tempo | ( | ) | const |
ushort TagLib::XM::Properties::version | ( | ) | const |
friend class File [friend] |