TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The Qmmp class stores global settings and enums. More...
#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 QString | cacheDir () |
static QString | strVersion () |
static QString | pluginPath () |
static QStringList | findPlugins (const QString &prefix) |
static QString | ttkPluginPath () |
static QByteArray | generatePrintable (const QString &text) |
enum Qmmp::AudioFormat |
Audio formats
Audio channels enum.
enum Qmmp::MetaData |
enum Qmmp::ReplayGainKey |
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 |
enum Qmmp::State |
Playback state enum
enum Qmmp::TrackProperty |
|
static |
Returns the cache directory path.
|
static |
Returns the configuration directory path.
|
static |
Returns the configuration file name, including the path.
Referenced by TTK::TTKQmmp::updateBaseConfig(), and TTK::TTKQmmp::updateBlurConfig().
|
static |
|
static |
Returns the decoded text by intput text.
input | text. |
|
static |
Returns the location of the installed Qmmp plugins.
|
static |
Returns Qmmp library version.
|
static |
Returns the location of the installed ttk plugins.