summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/CAmControlReceiver.cpp
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-05-02 14:42:55 +0200
committerchristian mueller <christian.ei.mueller@bmw.de>2012-05-24 13:40:22 +0200
commit7542b0aa2149eac23976ad5da2b3602aa06dd986 (patch)
treebb3edcdaf05cc1c1fe00afdcf10691d236476d01 /AudioManagerDaemon/src/CAmControlReceiver.cpp
parent95386672a2406e8878d4cad5ce48203d68b374c4 (diff)
downloadaudiomanager-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.cpp8
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)