16 #ifndef ACSDKEQUALIZERINTERFACES_EQUALIZERTYPES_H_ 17 #define ACSDKEQUALIZERINTERFACES_EQUALIZERTYPES_H_ 21 #include <unordered_map> 27 namespace acsdkEqualizerInterfaces {
77 using EqualizerBandLevelMap = std::unordered_map<EqualizerBand, int, avsCommon::utils::functional::EnumClassHash>;
166 if (stringValue ==
"BASS") {
169 if (stringValue ==
"MIDRANGE") {
172 if (stringValue ==
"TREBLE") {
188 if (stringValue ==
"NONE") {
191 if (stringValue ==
"MOVIE") {
194 if (stringValue ==
"MUSIC") {
197 if (stringValue ==
"NIGHT") {
200 if (stringValue ==
"SPORT") {
203 if (stringValue ==
"TV") {
213 #endif // ACSDKEQUALIZERINTERFACES_EQUALIZERTYPES_H_ Mid-range equalizer band.
std::unordered_map< EqualizerBand, int, avsCommon::utils::functional::EnumClassHash > EqualizerBandLevelMap
A collection of bands with their level values. This is an alias for EqualizerBand to band level (int)...
Definition: EqualizerTypes.h:77
EqualizerBandLevelMap bandLevels
Device supported bands with their levels.
Definition: EqualizerTypes.h:86
std::string equalizerModeToString(EqualizerMode mode)
Definition: EqualizerTypes.h:129
::std::string string
Definition: gtest-port.h:1097
std::string equalizerBandToString(EqualizerBand band)
Definition: EqualizerTypes.h:99
bool operator==(const EqualizerState &state1, const EqualizerState &state2)
Definition: EqualizerTypes.h:89
Equalizer mode representing default (no mode) behavior.
static SuccessResult< TValue > failure()
Definition: SuccessResult.h:87
const std::array< EqualizerBand, 3 > EqualizerBandValues
Definition: EqualizerTypes.h:44
Definition: SuccessResult.h:32
static SuccessResult< TValue > success(TValue value)
Definition: SuccessResult.h:92
EqualizerMode mode
Equalizer mode selected. Use EqualizerMode::NONE value to represent no specific mode.
Definition: EqualizerTypes.h:84
EqualizerBand
Definition: EqualizerTypes.h:32
std::ostream & operator<<(std::ostream &stream, EqualizerBand band)
Definition: EqualizerTypes.h:119
Definition: EqualizerTypes.h:82
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
avsCommon::utils::error::SuccessResult< EqualizerBand > stringToEqualizerBand(const std::string &stringValue)
Definition: EqualizerTypes.h:165
EqualizerMode
Definition: EqualizerTypes.h:51
const std::array< EqualizerMode, 6 > EqualizerModeValues
Definition: EqualizerTypes.h:69
avsCommon::utils::error::SuccessResult< EqualizerMode > stringToEqualizerMode(const std::string &stringValue)
Definition: EqualizerTypes.h:187