Qmmp
|
#include <qmmp.h>
Public Types | |
enum | State { Playing = 0, Paused, Stopped, Buffering, NormalError, FatalError } |
enum | MetaData { UNKNOWN = -1, TITLE = 0, ARTIST, ALBUMARTIST, ALBUM, COMMENT, GENRE, COMPOSER, YEAR, TRACK, DISCNUMBER } |
enum | TrackProperty { UNKNOWN_PROPERTY = -1, BITRATE = 0, SAMPLERATE, CHANNELS, BITS_PER_SAMPLE, FORMAT_NAME, DECODER, FILE_SIZE } |
enum | ReplayGainKey { REPLAYGAIN_TRACK_GAIN = 0, REPLAYGAIN_TRACK_PEAK, REPLAYGAIN_ALBUM_GAIN, REPLAYGAIN_ALBUM_PEAK } |
enum | AudioFormat { PCM_UNKNOWN = -1, PCM_S8 = 0, PCM_U8, PCM_S16LE, PCM_S16BE, PCM_U16LE, PCM_U16BE, PCM_S24LE, PCM_S24BE, PCM_U24LE, PCM_U24BE, PCM_S32LE, PCM_S32BE, PCM_U32LE, PCM_U32BE, PCM_FLOAT } |
enum | ChannelPosition { CHAN_NULL = 0x00, CHAN_FRONT_LEFT = 0x01, CHAN_FRONT_RIGHT = 0x02, CHAN_REAR_LEFT = 0x04, CHAN_REAR_RIGHT = 0x08, CHAN_FRONT_CENTER = 0x10, CHAN_REAR_CENTER = 0x20, CHAN_SIDE_LEFT = 0x40, CHAN_SIDE_RIGHT = 0x80, CHAN_LFE = 0x100 } |
Static Public Member Functions | |
static QString | configFile () |
static QString | configDir () |
static void | setConfigDir (const QString &path) |
static QString | strVersion () |
static QString | pluginPath () |
static QStringList | findPlugins (const QString &prefix) |
static QString | systemLanguageID () |
static QString | uiLanguageID () |
static void | setUiLanguageID (const QString &code) |
static QString | dataPath () |
The Qmmp class stores global settings and enums.
enum AudioFormat |
Audio formats
enum ChannelPosition |
Audio channels enum.
enum MetaData |
enum ReplayGainKey |
enum State |
Playback state enum
enum TrackProperty |
Track properties
|
static |
Returns the configuration directory path.
|
static |
Returns the configuration file name, including the path.
|
static |
Returns a directory location where persistent application data can be stored.
|
static |
|
static |
Returns the location of the installed Qmmp plugins.
|
static |
Overrides default configuration directory path.
|
static |
Sets user interface language.
code | Language code; code "auto" means autodetection. |
|
static |
Returns Qmmp library version.
|
static |
Returns system language if uiLanguageID() is 'auto'. Otherwise returns uiLanguageID().
|
static |
Returns state of the user interface language option. Code "auto" means autodetection.