From c1e284360ec02b06ccb0a97a00fed05ef0bb2c60 Mon Sep 17 00:00:00 2001 From: Martin Koch Date: Fri, 17 Jan 2020 09:07:47 +0100 Subject: AM: add plural form of setSystemProperties for global configuration attributes 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 extension in module tests Main purpose of this extension is to allow for one-shot (uninterrupted), consistent change of multiple, possibly interrelated configuration attributes. Signed-off-by: Martin Koch --- AudioManagerCore/src/CAmControlSender.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'AudioManagerCore/src/CAmControlSender.cpp') diff --git a/AudioManagerCore/src/CAmControlSender.cpp b/AudioManagerCore/src/CAmControlSender.cpp index e8f2285..a683a42 100644 --- a/AudioManagerCore/src/CAmControlSender.cpp +++ b/AudioManagerCore/src/CAmControlSender.cpp @@ -217,6 +217,12 @@ am_Error_e CAmControlSender::hookUserSetSystemProperty(const am_SystemProperty_s return (mController->hookUserSetSystemProperty(property)); } +am_Error_e CAmControlSender::hookUserSetSystemProperties(const std::vector &listSystemProperties) +{ + assert(mController); + return (mController->hookUserSetSystemProperties(listSystemProperties)); +} + am_Error_e CAmControlSender::hookUserVolumeChange(const am_sinkID_t sinkID, const am_mainVolume_t newVolume) { assert(mController); -- cgit v1.2.1