Qmmp Class Reference

The Qmmp class stores global settings and enums. More...

#include <qmmp.h>

List of all members.

Public Types

enum  State {
  Playing = 0, Paused, Stopped, Buffering,
  NormalError, FatalError
}
enum  MetaData {
  TITLE = 0, ARTIST, ALBUM, COMMENT,
  GENRE, COMPOSER, YEAR, TRACK,
  DISCNUMBER, URL
}
enum  ReplayGainKey { REPLAYGAIN_TRACK_GAIN = 0, REPLAYGAIN_TRACK_PEAK, REPLAYGAIN_ALBUM_GAIN, REPLAYGAIN_ALBUM_PEAK }
enum  AudioFormat {
  PCM_UNKNOWM = -1, PCM_S8 = 0, PCM_S16LE, PCM_S24LE,
  PCM_S32LE
}

Static Public Member Functions

static const QString configFile ()
static void setConfigFile (const QString &path)
static const QString strVersion ()
static const QString pluginsPath ()
static QString systemLanguageID ()


Detailed Description

The Qmmp class stores global settings and enums.

Author:
Ilya Kotov <forkotov02@hotmail.ru>

Member Enumeration Documentation

Audio formats

Enumerator:
PCM_UNKNOWM  Unknown format
PCM_S8  Signed 8 bit
PCM_S16LE  Signed 16 bit Little Endian
PCM_S24LE  Signed 24 bit Little Endian using low three bytes in 32-bit word
PCM_S32LE  Signed 32 bit Little Endian

Metadata keys

Enumerator:
TITLE  Title
ARTIST  Artist
ALBUM  Album
COMMENT  Comment
GENRE  Genre
COMPOSER  Composer
YEAR  Year
TRACK  Track number
DISCNUMBER  Disc number
URL  Stream url or local file path

Keys of ReplayGain information

Enumerator:
REPLAYGAIN_TRACK_GAIN  track gain
REPLAYGAIN_TRACK_PEAK  track peak
REPLAYGAIN_ALBUM_GAIN  album gain
REPLAYGAIN_ALBUM_PEAK  album peak

Playback state enum

Enumerator:
Playing  The player is playing source
Paused  The player has currently paused its playback
Stopped  The player is ready to play source
Buffering  The Player is waiting for data to be able to start playing.
NormalError  Input source is invalid or unsupported. Player should skip this file
FatalError  This means unrecorvable error die audio output problems. Player should abort playback.


Member Function Documentation

static const QString Qmmp::configFile (  )  [static]

Returns configuration file path.

static const QString Qmmp::pluginsPath (  )  [static]

Returns the location of the installed Qmmp plugins.

static void Qmmp::setConfigFile ( const QString &  path  )  [static]

Overrides default configuration file path.

static const QString Qmmp::strVersion (  )  [static]

Returns Qmmp library version.

static QString Qmmp::systemLanguageID (  )  [static]

Returns system language


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

Generated on Sat Mar 27 19:43:01 2010 for Qmmp by  doxygen 1.5.9