From 4e52c9d1554c5efeca23d2f3439b98ef96092377 Mon Sep 17 00:00:00 2001 From: Toshiaki Isogai Date: Thu, 4 Feb 2016 16:43:57 +0900 Subject: correct cache handling of sink main sound property in changeSinkDB() Signed-off-by: Toshiaki Isogai --- AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp b/AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp index 43c85d8..929c8d5 100644 --- a/AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp +++ b/AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp @@ -2821,7 +2821,7 @@ am_Error_e CAmDatabaseHandlerMap::changeSinkDB(const am_sinkID_t sinkID, const a if (!listMainSoundProperties.empty()) { DB_COND_UPDATE(mMappedData.mSinkMap.at(sinkID).listMainSoundProperties, listMainSoundProperties); - mMappedData.mSinkMap.at(sinkID).cacheSoundProperties.clear(); + mMappedData.mSinkMap.at(sinkID).cacheMainSoundProperties.clear(); } else //read out the properties { -- cgit v1.2.1