diff options
-rw-r--r-- | AudioManagerCore/include/CAmControlReceiver.h | 5 | ||||
-rw-r--r-- | include/IAmControl.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/AudioManagerCore/include/CAmControlReceiver.h b/AudioManagerCore/include/CAmControlReceiver.h index 46407d6..bf11e67 100644 --- a/AudioManagerCore/include/CAmControlReceiver.h +++ b/AudioManagerCore/include/CAmControlReceiver.h @@ -74,6 +74,11 @@ public: am_Error_e changeSinkMainVolumeDB(const am_mainVolume_t mainVolume, const am_sinkID_t sinkID); am_Error_e changeSinkAvailabilityDB(const am_Availability_s &availability, const am_sinkID_t sinkID); am_Error_e changeDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID); + inline am_Error_e changDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) + { + // legacy redirection due to former typo in function name + return changeDomainStateDB(domainState, domainID); + } am_Error_e changeSinkMuteStateDB(const am_MuteState_e muteState, const am_sinkID_t sinkID); am_Error_e changeMainSinkSoundPropertyDB(const am_MainSoundProperty_s &soundProperty, const am_sinkID_t sinkID); am_Error_e changeMainSinkSoundPropertiesDB(const std::vector<am_MainSoundProperty_s> &listSoundProperties, const am_sinkID_t sinkID); diff --git a/include/IAmControl.h b/include/IAmControl.h index bb0b235..82dad97 100644 --- a/include/IAmControl.h +++ b/include/IAmControl.h @@ -289,6 +289,11 @@ public: * was not found
*/
virtual am_Error_e changeDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) =0;
+ inline am_Error_e changDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID)
+ {
+ // legacy redirection due to former typo in function name
+ return changeDomainStateDB(domainState, domainID);
+ }
/**
* changes the mute state of a sink
* @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if sink was
|