diff options
author | Martin Koch <mkoch@de.adit-jv.com> | 2020-01-16 15:31:05 +0100 |
---|---|---|
committer | Martin Koch <mkoch@de.adit-jv.com> | 2020-01-17 09:14:36 +0100 |
commit | a2af83777be4860d554bceaf28c87218729cf309 (patch) | |
tree | 58472fdde28c6660ba60d1efd4f8b119eafd1ab5 /AudioManagerCore/test/MockIAmControlSend.h | |
parent | ce501a931e9eeb20013406373156bf70fb007cda (diff) | |
download | audiomanager-a2af83777be4860d554bceaf28c87218729cf309.tar.gz |
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 <mkoch@de.adit-jv.com>
Diffstat (limited to 'AudioManagerCore/test/MockIAmControlSend.h')
-rw-r--r-- | AudioManagerCore/test/MockIAmControlSend.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/AudioManagerCore/test/MockIAmControlSend.h b/AudioManagerCore/test/MockIAmControlSend.h index 36f12a2..1f0b7df 100644 --- a/AudioManagerCore/test/MockIAmControlSend.h +++ b/AudioManagerCore/test/MockIAmControlSend.h @@ -45,8 +45,12 @@ class MockIAmControlSend : public IAmControlSend { am_Error_e(const am_mainConnectionID_t connectionID)); MOCK_METHOD2(hookUserSetMainSinkSoundProperty, am_Error_e(const am_sinkID_t sinkID, const am_MainSoundProperty_s& soundProperty)); + MOCK_METHOD2(hookUserSetMainSinkSoundProperties, + am_Error_e(const am_sinkID_t sinkID, const std::vector<am_MainSoundProperty_s > &listSoundProperty)); MOCK_METHOD2(hookUserSetMainSourceSoundProperty, am_Error_e(const am_sourceID_t sourceID, const am_MainSoundProperty_s& soundProperty)); + MOCK_METHOD2(hookUserSetMainSourceSoundProperties, + am_Error_e(const am_sourceID_t sourceID, const std::vector<am_MainSoundProperty_s > &listSoundProperty)); MOCK_METHOD1(hookUserSetSystemProperty, am_Error_e(const am_SystemProperty_s& property)); MOCK_METHOD2(hookUserVolumeChange, |