diff options
author | Martin Koch <51775589+mkoch-aditg@users.noreply.github.com> | 2020-02-10 07:58:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 07:58:37 +0100 |
commit | 86963abab32af54f7fe1244a727d3340ddeb5450 (patch) | |
tree | 752b600be063bd3938e7e8fc7b304ac46f53ef1d /AudioManagerCore/include/CAmCommandReceiver.h | |
parent | ce501a931e9eeb20013406373156bf70fb007cda (diff) | |
parent | c1e284360ec02b06ccb0a97a00fed05ef0bb2c60 (diff) | |
download | audiomanager-86963abab32af54f7fe1244a727d3340ddeb5450.tar.gz |
Merge pull request #49 from GENIVI/PluralProperties
Add plural form of set/get ..SoundProperty() and ..SystemProperty() to allow for simultaneous handling of multible, possibly interrelated attributes.
Diffstat (limited to 'AudioManagerCore/include/CAmCommandReceiver.h')
-rw-r--r-- | AudioManagerCore/include/CAmCommandReceiver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AudioManagerCore/include/CAmCommandReceiver.h b/AudioManagerCore/include/CAmCommandReceiver.h index 9080b25..17c3fd4 100644 --- a/AudioManagerCore/include/CAmCommandReceiver.h +++ b/AudioManagerCore/include/CAmCommandReceiver.h @@ -49,8 +49,11 @@ public: am_Error_e volumeStep(const am_sinkID_t sinkID, const int16_t volumeStep); am_Error_e setSinkMuteState(const am_sinkID_t sinkID, const am_MuteState_e muteState); am_Error_e setMainSinkSoundProperty(const am_MainSoundProperty_s &soundProperty, const am_sinkID_t sinkID); + am_Error_e setMainSinkSoundProperties(const std::vector<am_MainSoundProperty_s> &listSoundProperties, const am_sinkID_t sinkID); am_Error_e setMainSourceSoundProperty(const am_MainSoundProperty_s &soundProperty, const am_sourceID_t sourceID); + am_Error_e setMainSourceSoundProperties(const std::vector<am_MainSoundProperty_s> &listSoundProperties, const am_sourceID_t sourceID); am_Error_e setSystemProperty(const am_SystemProperty_s &property); + am_Error_e setSystemProperties(const std::vector<am_SystemProperty_s> &listSystemProperties); am_Error_e getVolume(const am_sinkID_t sinkID, am_mainVolume_t &mainVolume) const; am_Error_e getListMainConnections(std::vector<am_MainConnectionType_s> &listConnections) const; am_Error_e getListMainSinks(std::vector<am_SinkType_s> &listMainSinks) const; |