21 #ifndef QMMPSETTINGS_H 22 #define QMMPSETTINGS_H 26 #include <QStringList> 28 #include "eqsettings.h" 74 double replayGainPreamp()
const;
78 double replayGainDefaultGain()
const;
82 bool replayGainPreventClipping()
const;
90 void setReplayGainSettings(ReplayGainMode mode,
double preamp,
double default_gain,
bool clip);
94 bool useSoftVolume()
const;
102 bool useDithering()
const;
109 void setAudioSettings(
bool soft_volume,
Qmmp::AudioFormat format,
bool use_dithering);
114 QStringList coverNameFilters(
bool include =
true)
const;
118 int coverSearchDepth()
const;
122 bool useCoverFiles()
const;
132 void setCoverSettings(QStringList inc, QStringList exc,
int depth,
bool use_files);
136 bool isProxyEnabled()
const;
140 bool useProxyAuth()
const;
144 const QUrl &proxy()
const;
148 ProxyType proxyType()
const;
156 void setNetworkSettings(
bool use_proxy,
bool auth, ProxyType type,
const QUrl &proxy);
164 void setEqSettings(
const EqSettings &settings);
173 int bufferSize()
const;
178 void setBufferSize(
int msec);
183 void setVolumeStep(
int step);
187 int volumeStep()
const;
194 void setAverageBitrate(
bool enabled);
198 bool averageBitrate()
const;
204 void setDetermineFileTypeByContent(
bool enabled);
208 bool determineFileTypeByContent()
const;
218 void replayGainSettingsChanged();
222 void audioSettingsChanged();
226 void coverSettingsChanged();
230 void networkSettingsChanged();
234 void eqSettingsChanged();
246 double m_rg_defaut_gain;
247 bool m_rg_prevent_clipping;
249 bool m_aud_software_volume;
250 bool m_aud_dithering;
253 bool m_average_bitrate;
255 QStringList m_cover_inc;
256 QStringList m_cover_exclude;
258 bool m_cover_use_files;
260 bool m_proxy_enabled;
263 ProxyType m_proxy_type;
269 bool m_determine_by_content;
277 #endif // QMMPSETTINGS_H ReplayGainMode
Definition: qmmpsettings.h:42
The QmmpSettings class provides access to global settings.
Definition: qmmpsettings.h:35
Definition: qmmpsettings.h:45
The EqSettings class helps to work with equalizer settings.
Definition: eqsettings.h:29
Definition: eqsettings.h:37
Bands
Definition: eqsettings.h:35
ProxyType
Definition: qmmpsettings.h:52
AudioFormat
Definition: qmmp.h:114