TagLib API Documentation
Public Member Functions | List of all members
TagLib::Mod::Properties Class Reference

An implementation of audio property reading for Mod. More...

#include <modproperties.h>

Inheritance diagram for TagLib::Mod::Properties:
Collaboration diagram for TagLib::Mod::Properties:

Public Member Functions

 Properties (AudioProperties::ReadStyle propertiesStyle)
 ~Properties () override
 Properties (const Properties &)=delete
Propertiesoperator= (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
AudioPropertiesoperator= (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)

Detailed Description

An implementation of audio property reading for Mod.

Constructor & Destructor Documentation

◆ Properties() [1/2]

TagLib::Mod::Properties::Properties ( AudioProperties::ReadStyle  propertiesStyle)

◆ ~Properties()

TagLib::Mod::Properties::~Properties ( )

◆ Properties() [2/2]

TagLib::Mod::Properties::Properties ( const Properties )

Member Function Documentation

◆ bitrate()

int TagLib::Mod::Properties::bitrate ( ) const

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.

◆ channels()

int TagLib::Mod::Properties::channels ( ) const

Returns the number of audio channels.

Implements TagLib::AudioProperties.

◆ instrumentCount()

unsigned int TagLib::Mod::Properties::instrumentCount ( ) const

◆ lengthInPatterns()

unsigned char TagLib::Mod::Properties::lengthInPatterns ( ) const

◆ operator=()

Properties & TagLib::Mod::Properties::operator= ( const Properties )

◆ sampleRate()

int TagLib::Mod::Properties::sampleRate ( ) const

Returns the sample rate in Hz.

Reimplemented from TagLib::AudioProperties.

◆ setChannels()

void TagLib::Mod::Properties::setChannels ( int  channels)

◆ setInstrumentCount()

void TagLib::Mod::Properties::setInstrumentCount ( unsigned int  instrumentCount)

◆ setLengthInPatterns()

void TagLib::Mod::Properties::setLengthInPatterns ( unsigned char  lengthInPatterns)

The documentation for this class was generated from the following file: