16 #ifndef ACSDKEQUALIZERIMPLEMENTATIONS_INMEMORYEQUALIZERCONFIGURATION_H_ 17 #define ACSDKEQUALIZERIMPLEMENTATIONS_INMEMORYEQUALIZERCONFIGURATION_H_ 25 namespace acsdkEqualizer {
51 static std::shared_ptr<InMemoryEqualizerConfiguration>
create(
55 const std::set<acsdkEqualizerInterfaces::EqualizerBand>& bandsSupported,
56 const std::set<acsdkEqualizerInterfaces::EqualizerMode>& modesSupported,
64 static std::shared_ptr<InMemoryEqualizerConfiguration>
createDisabled();
71 static std::shared_ptr<InMemoryEqualizerConfiguration>
createDefault();
77 std::set<acsdkEqualizerInterfaces::EqualizerBand>
getSupportedBands()
const override;
79 std::set<acsdkEqualizerInterfaces::EqualizerMode>
getSupportedModes()
const override;
110 const std::set<acsdkEqualizerInterfaces::EqualizerBand>& bandsSupported,
111 const std::set<acsdkEqualizerInterfaces::EqualizerMode>& modesSupported,
148 std::set<acsdkEqualizerInterfaces::EqualizerBand> m_bandsSupported;
151 std::set<acsdkEqualizerInterfaces::EqualizerMode> m_modesSupported;
163 #endif // ACSDKEQUALIZERIMPLEMENTATIONS_INMEMORYEQUALIZERCONFIGURATION_H_ 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
bool validateBandLevelMap(const acsdkEqualizerInterfaces::EqualizerBandLevelMap &bandLevelMap, bool validateValues)
InMemoryEqualizerConfiguration()
std::set< acsdkEqualizerInterfaces::EqualizerMode > getSupportedModes() const override
static std::shared_ptr< InMemoryEqualizerConfiguration > createDisabled()
int getMaxBandLevel() const override
int getDefaultBandDelta() const override
Definition: InMemoryEqualizerConfiguration.h:31
static std::shared_ptr< InMemoryEqualizerConfiguration > create(int minBandLevel, int maxBandLevel, int defaultDelta, const std::set< acsdkEqualizerInterfaces::EqualizerBand > &bandsSupported, const std::set< acsdkEqualizerInterfaces::EqualizerMode > &modesSupported, acsdkEqualizerInterfaces::EqualizerState defaultState)
bool isBandSupported(acsdkEqualizerInterfaces::EqualizerBand band) const override
EqualizerBand
Definition: EqualizerTypes.h:32
std::set< acsdkEqualizerInterfaces::EqualizerBand > getSupportedBands() const override
bool isModeSupported(acsdkEqualizerInterfaces::EqualizerMode mode) const override
Definition: EqualizerTypes.h:82
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: EqualizerConfigurationInterface.h:33
~InMemoryEqualizerConfiguration() override=default
bool isEnabled() const override
int getMinBandLevel() const override
bool validateConfiguration()
static std::shared_ptr< InMemoryEqualizerConfiguration > createDefault()
EqualizerMode
Definition: EqualizerTypes.h:51
acsdkEqualizerInterfaces::EqualizerState getDefaultState() const override