From a2af83777be4860d554bceaf28c87218729cf309 Mon Sep 17 00:00:00 2001 From: Martin Koch Date: Thu, 16 Jan 2020 15:31:05 +0100 Subject: AM: add plural form of set...SoundProperties for sources and sinks to command and control interface - implement plural form of requests and acknowledgments in core - provide empty default implementations in interfaces to ensure backward compatibility with older plugins - accommodate extensions in module tests - leave existing singular form untouched Main purpose of this extension is to allow for one-shot (uninterrupted), consistent change of multiple, possibly interrelated sound properties. Signed-off-by: Martin Koch --- AudioManagerCore/include/CAmCommandReceiver.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'AudioManagerCore/include/CAmCommandReceiver.h') diff --git a/AudioManagerCore/include/CAmCommandReceiver.h b/AudioManagerCore/include/CAmCommandReceiver.h index 9080b25..8c43987 100644 --- a/AudioManagerCore/include/CAmCommandReceiver.h +++ b/AudioManagerCore/include/CAmCommandReceiver.h @@ -49,7 +49,9 @@ 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 &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 &listSoundProperties, const am_sourceID_t sourceID); am_Error_e setSystemProperty(const am_SystemProperty_s &property); am_Error_e getVolume(const am_sinkID_t sinkID, am_mainVolume_t &mainVolume) const; am_Error_e getListMainConnections(std::vector &listConnections) const; -- cgit v1.2.1