TagLib::IT::Properties Class Reference

#include <itproperties.h>

Inheritance diagram for TagLib::IT::Properties:
Collaboration diagram for TagLib::IT::Properties:

Public Types

enum  {
  Stereo = 1, Vol0MixOptimizations = 2, UseInstruments = 4, LinearSlides = 8,
  OldEffects = 16, LinkEffects = 32, UseMidiPitchController = 64, RequestEmbeddedMidiConf = 128
}
enum  { MessageAttached = 1, MidiConfEmbedded = 8 }
- Public Types inherited from TagLib::AudioProperties
enum  ReadStyle { Fast, Average, Accurate }

Public Member Functions

 Properties (AudioProperties::ReadStyle propertiesStyle)
virtual ~Properties ()
int length () const
int bitrate () const
int sampleRate () const
int channels () const
ushort lengthInPatterns () const
bool stereo () const
ushort instrumentCount () const
ushort sampleCount () const
ushort patternCount () const
ushort version () const
ushort compatibleVersion () const
ushort flags () const
ushort special () const
uchar globalVolume () const
uchar mixVolume () const
uchar tempo () const
uchar bpmSpeed () const
uchar panningSeparation () const
uchar pitchWheelDepth () const
void setChannels (int channels)
void setLengthInPatterns (ushort lengthInPatterns)
void setInstrumentCount (ushort instrumentCount)
void setSampleCount (ushort sampleCount)
void setPatternCount (ushort patternCount)
void setVersion (ushort version)
void setCompatibleVersion (ushort compatibleVersion)
void setFlags (ushort flags)
void setSpecial (ushort special)
void setGlobalVolume (uchar globalVolume)
void setMixVolume (uchar mixVolume)
void setTempo (uchar tempo)
void setBpmSpeed (uchar bpmSpeed)
void setPanningSeparation (uchar panningSeparation)
void setPitchWheelDepth (uchar pitchWheelDepth)
- Public Member Functions inherited from TagLib::AudioProperties
virtual ~AudioProperties ()

Friends

class File

Additional Inherited Members

- Protected Member Functions inherited from TagLib::AudioProperties
 AudioProperties (ReadStyle style)

Member Enumeration Documentation

anonymous enum

Flag bits.

Enumerator:
Stereo 
Vol0MixOptimizations 
UseInstruments 
LinearSlides 
OldEffects 
LinkEffects 
UseMidiPitchController 
RequestEmbeddedMidiConf 
anonymous enum

Special bits.

Enumerator:
MessageAttached 
MidiConfEmbedded 

Constructor & Destructor Documentation

TagLib::IT::Properties::Properties ( AudioProperties::ReadStyle  propertiesStyle)
virtual TagLib::IT::Properties::~Properties ( )
virtual

Member Function Documentation

int TagLib::IT::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.

uchar TagLib::IT::Properties::bpmSpeed ( ) const
int TagLib::IT::Properties::channels ( ) const
virtual

Returns the number of audio channels.

Implements TagLib::AudioProperties.

ushort TagLib::IT::Properties::compatibleVersion ( ) const
ushort TagLib::IT::Properties::flags ( ) const
uchar TagLib::IT::Properties::globalVolume ( ) const
ushort TagLib::IT::Properties::instrumentCount ( ) const
int TagLib::IT::Properties::length ( ) const
virtual

Returns the length of the file in seconds.

Implements TagLib::AudioProperties.

ushort TagLib::IT::Properties::lengthInPatterns ( ) const
uchar TagLib::IT::Properties::mixVolume ( ) const
uchar TagLib::IT::Properties::panningSeparation ( ) const
ushort TagLib::IT::Properties::patternCount ( ) const
uchar TagLib::IT::Properties::pitchWheelDepth ( ) const
ushort TagLib::IT::Properties::sampleCount ( ) const
int TagLib::IT::Properties::sampleRate ( ) const
virtual

Returns the sample rate in Hz.

Implements TagLib::AudioProperties.

void TagLib::IT::Properties::setBpmSpeed ( uchar  bpmSpeed)
void TagLib::IT::Properties::setChannels ( int  channels)
void TagLib::IT::Properties::setCompatibleVersion ( ushort  compatibleVersion)
void TagLib::IT::Properties::setFlags ( ushort  flags)
void TagLib::IT::Properties::setGlobalVolume ( uchar  globalVolume)
void TagLib::IT::Properties::setInstrumentCount ( ushort  instrumentCount)
void TagLib::IT::Properties::setLengthInPatterns ( ushort  lengthInPatterns)
void TagLib::IT::Properties::setMixVolume ( uchar  mixVolume)
void TagLib::IT::Properties::setPanningSeparation ( uchar  panningSeparation)
void TagLib::IT::Properties::setPatternCount ( ushort  patternCount)
void TagLib::IT::Properties::setPitchWheelDepth ( uchar  pitchWheelDepth)
void TagLib::IT::Properties::setSampleCount ( ushort  sampleCount)
void TagLib::IT::Properties::setSpecial ( ushort  special)
void TagLib::IT::Properties::setTempo ( uchar  tempo)
void TagLib::IT::Properties::setVersion ( ushort  version)
ushort TagLib::IT::Properties::special ( ) const
bool TagLib::IT::Properties::stereo ( ) const
uchar TagLib::IT::Properties::tempo ( ) const
ushort TagLib::IT::Properties::version ( ) const

Friends And Related Function Documentation

friend class File
friend

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