diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-05-02 14:42:55 +0200 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-05-24 13:40:22 +0200 |
commit | 7542b0aa2149eac23976ad5da2b3602aa06dd986 (patch) | |
tree | bb3edcdaf05cc1c1fe00afdcf10691d236476d01 /AudioManagerDaemon/src/CAmControlReceiver.cpp | |
parent | 95386672a2406e8878d4cad5ce48203d68b374c4 (diff) | |
download | audiomanager-7542b0aa2149eac23976ad5da2b3602aa06dd986.tar.gz |
* [GAM-70] fix wrong type on database interface for source sound properties
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/src/CAmControlReceiver.cpp')
-rw-r--r-- | AudioManagerDaemon/src/CAmControlReceiver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/AudioManagerDaemon/src/CAmControlReceiver.cpp b/AudioManagerDaemon/src/CAmControlReceiver.cpp index e7cee4b..23ae544 100644 --- a/AudioManagerDaemon/src/CAmControlReceiver.cpp +++ b/AudioManagerDaemon/src/CAmControlReceiver.cpp @@ -130,7 +130,7 @@ am_Error_e CAmControlReceiver::setSinkSoundProperty(am_Handle_s & handle, const { logInfo("CAmControlReceiver::setSinkSoundProperty got called, sinkID=", sinkID, "soundProperty.Type=", soundProperty.type, "soundProperty.value=", soundProperty.value); - uint16_t value; + int16_t value; if (mDatabaseHandler->getSinkSoundPropertyValue(sinkID, soundProperty.type, value) != E_OK) return (E_UNKNOWN); if (value == soundProperty.value) @@ -142,7 +142,7 @@ am_Error_e CAmControlReceiver::setSinkSoundProperties(am_Handle_s & handle, cons { logInfo("CAmControlReceiver::setSinkSoundProperties got called, sinkID=", sinkID); - uint16_t value; + int16_t value; bool noChange = true; std::vector<am_SoundProperty_s>::const_iterator it = listSoundProperties.begin(); for (; it != listSoundProperties.end(); ++it) @@ -161,7 +161,7 @@ am_Error_e CAmControlReceiver::setSourceSoundProperty(am_Handle_s & handle, cons { logInfo("CAmControlReceiver::setSourceSoundProperty got called, sourceID=", sourceID, "soundProperty.Type=", soundProperty.type, "soundProperty.value=", soundProperty.value); - uint16_t value; + int16_t value; if (mDatabaseHandler->getSourceSoundPropertyValue(sourceID, soundProperty.type, value) != E_OK) return (E_UNKNOWN); if (value == soundProperty.value) @@ -173,7 +173,7 @@ am_Error_e CAmControlReceiver::setSourceSoundProperties(am_Handle_s & handle, co { logInfo("CAmControlReceiver::setSourceSoundProperties got called, sourceID=", sourceID); - uint16_t value; + int16_t value; bool noChange = true; std::vector<am_SoundProperty_s>::const_iterator it = listSoundProperties.begin(); for (; it != listSoundProperties.end(); ++it) |