21 #ifndef QMMPSETTINGS_H 22 #define QMMPSETTINGS_H 26 #include <QStringList> 28 #include "eqsettings.h" 65 double replayGainPreamp()
const;
69 double replayGainDefaultGain()
const;
73 bool replayGainPreventClipping()
const;
81 void setReplayGainSettings(ReplayGainMode mode,
double preamp,
double default_gain,
bool clip);
85 bool useSoftVolume()
const;
93 bool useDithering()
const;
100 void setAudioSettings(
bool soft_volume,
Qmmp::AudioFormat format,
bool use_dithering);
105 QStringList coverNameFilters(
bool include =
true)
const;
109 int coverSearchDepth()
const;
113 bool useCoverFiles()
const;
123 void setCoverSettings(QStringList inc, QStringList exc,
int depth,
bool use_files);
127 bool isProxyEnabled()
const;
131 bool useProxyAuth()
const;
142 void setNetworkSettings(
bool use_proxy,
bool auth,
const QUrl &proxy);
150 void setEqSettings(
const EqSettings &settings);
159 int bufferSize()
const;
164 void setBufferSize(
int msec);
169 void setVolumeStep(
int step);
173 int volumeStep()
const;
179 void setDetermineFileTypeByContent(
bool enabled);
183 bool determineFileTypeByContent()
const;
193 void replayGainSettingsChanged();
197 void audioSettingsChanged();
201 void coverSettingsChanged();
205 void networkSettingsChanged();
209 void eqSettingsChanged();
221 double m_rg_defaut_gain;
222 bool m_rg_prevent_clipping;
224 bool m_aud_software_volume;
225 bool m_aud_dithering;
229 QStringList m_cover_inc;
230 QStringList m_cover_exclude;
232 bool m_cover_use_files;
234 bool m_proxy_enabled;
242 bool m_determine_by_content;
250 #endif // QMMPSETTINGS_H Definition: eqsettings.h:88
ReplayGainMode
Definition: qmmpsettings.h:52
The QmmpSettings class provides access to global settings.
Definition: qmmpsettings.h:35
Definition: qmmpsettings.h:55
The EqSettings class helps to work with equalizer settings.
Definition: eqsettings.h:29
AudioFormat
Definition: qmmp.h:105