An implementation of audio property reading for Mod. More...
#include <modproperties.h>
Public Member Functions | |
Properties (AudioProperties::ReadStyle propertiesStyle) | |
~Properties () override | |
Properties (const Properties &)=delete | |
Properties & | operator= (const Properties &)=delete |
int | bitrate () const override |
int | sampleRate () const override |
int | channels () const override |
unsigned int | instrumentCount () const |
unsigned char | lengthInPatterns () const |
void | setChannels (int channels) |
void | setInstrumentCount (unsigned int instrumentCount) |
void | setLengthInPatterns (unsigned char lengthInPatterns) |
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 |
virtual int | lengthInMilliseconds () const |
virtual int | bitrate () const |
virtual int | sampleRate () const |
virtual int | channels () const =0 |
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 Mod.
TagLib::Mod::Properties::Properties | ( | AudioProperties::ReadStyle | propertiesStyle | ) |
|
override |
|
delete |
|
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.
|
overridevirtual |
Returns the number of audio channels.
Implements TagLib::AudioProperties.
unsigned int TagLib::Mod::Properties::instrumentCount | ( | ) | const |
unsigned char TagLib::Mod::Properties::lengthInPatterns | ( | ) | const |
|
delete |
|
overridevirtual |
Returns the sample rate in Hz.
Reimplemented from TagLib::AudioProperties.
void TagLib::Mod::Properties::setChannels | ( | int | channels | ) |
void TagLib::Mod::Properties::setInstrumentCount | ( | unsigned int | instrumentCount | ) |
void TagLib::Mod::Properties::setLengthInPatterns | ( | unsigned char | lengthInPatterns | ) |