51 explicit EqSettings(Bands bands = EQ_BANDS_10);
56 bool isEnabled()
const;
60 double gain(
int chan)
const;
64 double preamp()
const;
72 bool twoPasses()
const;
76 void setEnabled(
bool enabled =
true);
82 void setGain(
int band,
double gain);
86 void setPreamp(
double preamp);
90 void setTwoPasses(
bool enabled =
true);
105 double m_gains[31] = { 0 };
107 bool m_is_enabled =
false;
109 bool m_two_passes =
false;
bool operator==(const VolumeSettings &v1, const VolumeSettings &v2)
The EqSettings class helps to work with equalizer settings.
bool operator!=(const VolumeSettings &v1, const VolumeSettings &v2)