From 7e123bde96cad40b994d606966c76af7a2c9eba4 Mon Sep 17 00:00:00 2001 From: daduki Date: Mon, 11 May 2020 14:40:33 +0900 Subject: typo changDomainStateDB > changeDomainStateDB typo changDomainStateDB > changeDomainStateDB --- include/IAmControl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/IAmControl.h b/include/IAmControl.h index 2f2f083..bb0b235 100644 --- a/include/IAmControl.h +++ b/include/IAmControl.h @@ -288,7 +288,7 @@ public: * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if domain * was not found */ - virtual am_Error_e changDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) =0; + virtual am_Error_e changeDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) =0; /** * changes the mute state of a sink * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if sink was -- cgit v1.2.1 From 26cb1eab8e2591c1310aeca58da17c7ed25ab56f Mon Sep 17 00:00:00 2001 From: daduki Date: Mon, 11 May 2020 14:42:30 +0900 Subject: typo changDomainStateDB > changeDomainStateDB typo changDomainStateDB > changeDomainStateDB --- AudioManagerCore/include/CAmControlReceiver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioManagerCore/include/CAmControlReceiver.h b/AudioManagerCore/include/CAmControlReceiver.h index 0a0e1f3..46407d6 100644 --- a/AudioManagerCore/include/CAmControlReceiver.h +++ b/AudioManagerCore/include/CAmControlReceiver.h @@ -73,7 +73,7 @@ public: am_Error_e changeMainConnectionStateDB(const am_mainConnectionID_t mainconnectionID, const am_ConnectionState_e connectionState); 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 changDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID); + am_Error_e changeDomainStateDB(const am_DomainState_e domainState, const am_domainID_t 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 &listSoundProperties, const am_sinkID_t sinkID); -- cgit v1.2.1 From a2204a8a6c3c31dd35865c7bb329bd9712a3f1c0 Mon Sep 17 00:00:00 2001 From: daduki Date: Mon, 11 May 2020 14:43:46 +0900 Subject: typo changDomainStateDB > changeDomainStateDB typo changDomainStateDB > changeDomainStateDB --- AudioManagerCore/src/CAmControlReceiver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioManagerCore/src/CAmControlReceiver.cpp b/AudioManagerCore/src/CAmControlReceiver.cpp index c88f413..7a6072c 100644 --- a/AudioManagerCore/src/CAmControlReceiver.cpp +++ b/AudioManagerCore/src/CAmControlReceiver.cpp @@ -191,7 +191,7 @@ am_Error_e CAmControlReceiver::changeSinkAvailabilityDB(const am_Availability_s return (mDatabaseHandler->changeSinkAvailabilityDB(availability, sinkID)); } -am_Error_e CAmControlReceiver::changDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) +am_Error_e CAmControlReceiver::changeDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) { return (mDatabaseHandler->changeDomainStateDB(domainState, domainID)); } -- cgit v1.2.1 From 2def13f3f4972188ae657bc0112a67af0de7b082 Mon Sep 17 00:00:00 2001 From: daduki Date: Mon, 11 May 2020 14:44:44 +0900 Subject: typo changDomainStateDB > changeDomainStateDB typo changDomainStateDB > changeDomainStateDB --- AudioManagerCore/src/CAmDatabaseHandlerMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioManagerCore/src/CAmDatabaseHandlerMap.cpp b/AudioManagerCore/src/CAmDatabaseHandlerMap.cpp index 55e92de..6e6e3f9 100644 --- a/AudioManagerCore/src/CAmDatabaseHandlerMap.cpp +++ b/AudioManagerCore/src/CAmDatabaseHandlerMap.cpp @@ -1457,7 +1457,7 @@ am_Error_e CAmDatabaseHandlerMap::changeDomainStateDB(const am_DomainState_e dom DB_COND_UPDATE_RIE(mMappedData.mDomainMap[domainID].state, domainState); - logVerbose("DatabaseHandler::changDomainStateDB changed domainState of domain:", domainID, "to:", domainState); + logVerbose("DatabaseHandler::changeDomainStateDB changed domainState of domain:", domainID, "to:", domainState); return (E_OK); } -- cgit v1.2.1 From d0c19e34ee24bbf87f01abda48c08c8a4bdf5379 Mon Sep 17 00:00:00 2001 From: daduki Date: Wed, 13 May 2020 16:40:48 +0900 Subject: legacy redirection for typo correction legacy redirection for typo correction for the chage : from : changDomainStateDB to : changeDomainStateDB --- AudioManagerCore/include/CAmControlReceiver.h | 5 +++++ include/IAmControl.h | 5 +++++ 2 files changed, 10 insertions(+) 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 &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 -- cgit v1.2.1 From 8b4a12285068747c63868dff64e6da3e8d5f0118 Mon Sep 17 00:00:00 2001 From: daduki Date: Wed, 13 May 2020 16:54:57 +0900 Subject: Update CAmControlReceiver.h Indent /t to four spaces (I'm sorry that I'm not accustomed with gitHub GUI.) --- AudioManagerCore/include/CAmControlReceiver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioManagerCore/include/CAmControlReceiver.h b/AudioManagerCore/include/CAmControlReceiver.h index bf11e67..bd897de 100644 --- a/AudioManagerCore/include/CAmControlReceiver.h +++ b/AudioManagerCore/include/CAmControlReceiver.h @@ -74,7 +74,7 @@ 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) + 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); -- cgit v1.2.1