21 #ifndef QMMPSETTINGS_H
22 #define QMMPSETTINGS_H
26 #include <QStringList>
76 double replayGainPreamp()
const;
80 double replayGainDefaultGain()
const;
84 bool replayGainPreventClipping()
const;
92 void setReplayGainSettings(ReplayGainMode
mode,
double preamp,
double default_gain,
bool clip);
96 bool useSoftVolume()
const;
104 bool useDithering()
const;
111 void setAudioSettings(
bool soft_volume,
Qmmp::AudioFormat format,
bool use_dithering);
116 const QStringList &coverNameFilters(
bool include =
true)
const;
120 int coverSearchDepth()
const;
124 bool useCoverFiles()
const;
134 void setCoverSettings(QStringList inc, QStringList exc,
int depth,
bool use_files);
138 bool isProxyEnabled()
const;
142 bool useProxyAuth()
const;
146 const QUrl &proxy()
const;
150 ProxyType proxyType()
const;
158 void setNetworkSettings(
bool use_proxy,
bool auth, ProxyType type,
const QUrl &proxy);
166 void setEqSettings(
const EqSettings &settings);
175 int bufferSize()
const;
180 void setBufferSize(
int msec);
185 void setVolumeStep(
int step);
189 int volumeStep()
const;
196 void setAverageBitrate(
bool enabled);
200 bool averageBitrate()
const;
206 void setDetermineFileTypeByContent(
bool enabled);
210 bool determineFileTypeByContent()
const;
220 void replayGainSettingsChanged();
224 void audioSettingsChanged();
228 void coverSettingsChanged();
232 void networkSettingsChanged();
236 void eqSettingsChanged();
275 bool m_saveSettings =
false;
bool m_aud_software_volume
QStringList m_cover_exclude
The QmmpSettings class provides access to global settings.
bool m_determine_by_content
The EqSettings class helps to work with equalizer settings.
bool m_rg_prevent_clipping
Qmmp::AudioFormat m_aud_format
QmmpSettings::ReplayGainMode m_rg_mode
static QmmpSettings * m_instance