|
TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
#include <replaygain_p.h>
Inheritance diagram for ReplayGain:Public Member Functions | |
| void | updateSettings (QmmpSettings::ReplayGainMode mode, double preamp, double default_gain, bool clip) |
| void | setReplayGainInfo (const QMap< Qmmp::ReplayGainKey, double > &info) |
| virtual void | applyEffect (Buffer *b) overridefinal |
Public Member Functions inherited from Effect | |
| Effect ()=default | |
| virtual | ~Effect ()=default |
| virtual void | configure (quint32 srate, ChannelMap map) |
| quint32 | sampleRate () const |
| int | channels () const |
| const ChannelMap & | channelMap () const |
| AudioParameters | audioParameters () const |
| EffectFactory * | factory () const |
Private Member Functions | |
| void | updateScale () |
Private Attributes | |
| QMap< Qmmp::ReplayGainKey, double > | m_info |
| QmmpSettings::ReplayGainMode | m_mode = QmmpSettings::REPLAYGAIN_DISABLED |
| double | m_scale = 1.0 |
| double | m_preamp = 0.0 |
| double | m_default_gain = 0.0 |
| bool | m_prevent_clipping = false |
| bool | m_disabled = true |
| bool | m_update = false |
Additional Inherited Members | |
Static Public Member Functions inherited from Effect | |
| static Effect * | create (EffectFactory *factory) |
| static QList< EffectFactory * > | factories () |
| static QList< EffectFactory * > | enabledFactories () |
| static QString | file (const EffectFactory *factory) |
| static void | setEnabled (EffectFactory *factory, bool enable=true) |
| static bool | isEnabled (const EffectFactory *factory) |
| static EffectFactory * | findFactory (const QString &shortName) |
Definition at line 31 of file replaygain_p.h.
|
finaloverridevirtual |
Adds audio effect to the buffer b. Subclass should implement this function.
Implements Effect.
| void ReplayGain::setReplayGainInfo | ( | const QMap< Qmmp::ReplayGainKey, double > & | info | ) |
|
private |
| void ReplayGain::updateSettings | ( | QmmpSettings::ReplayGainMode | mode, |
| double | preamp, | ||
| double | default_gain, | ||
| bool | clip | ||
| ) |
|
private |
Definition at line 45 of file replaygain_p.h.
|
private |
Definition at line 47 of file replaygain_p.h.
|
private |
Definition at line 41 of file replaygain_p.h.
|
private |
Definition at line 42 of file replaygain_p.h.
|
private |
Definition at line 44 of file replaygain_p.h.
|
private |
Definition at line 46 of file replaygain_p.h.
|
private |
Definition at line 43 of file replaygain_p.h.
|
private |
Definition at line 48 of file replaygain_p.h.
1.8.8