 |
Sayonara Player
|
21 #ifndef EQUALIZER_SETTING_H_
22 #define EQUALIZER_SETTING_H_
24 #include "Utils/Pimpl.h"
40 using ValueArray=std::array<int, 10>;
72 const ValueArray& defaultValues()
const;
96 void setDefaultValues(
const ValueArray&
values);
105 ValueArray::const_iterator begin()
const;
106 ValueArray::const_iterator end()
const;
void setValue(int idx, int val)
set specific value for band
void setValues(const ValueArray &values)
set all values for a specific index. If there are more than 10 values, list is stripped....
bool isDefault() const
checks, if preset is default preset
The EQ_Setting class. Container for Equalizer configurations.
Definition: EqualizerSetting.h:35
QString name() const
get name of setting
int value(int idx) const
get specific value for a band idx. if idx is not valid, 0 is returned
const ValueArray & values() const
get database values for setting
void setName(const QString &name)
set name of setting