summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>2014-02-12 13:49:32 (GMT)
committerChristian Linke <christian.linke@bmw.de>2014-03-28 15:48:02 (GMT)
commit0aac39c5c94dfcd8304ed44c13b0d3d6d1b186fa (patch)
tree2946d06f2a1de0290ecfae155c5f1ce0854f54e5
parent589dbdab657e4d2b9d9c2c6a0d1bb643d99cc672 (diff)
downloadaudiomanager-0aac39c5c94dfcd8304ed44c13b0d3d6d1b186fa.tar.gz
* Applied routing_send_async_calls.patch
Signed-off-by: Christian Linke <christian.linke@bmw.de>
-rw-r--r--PluginRoutingInterfaceDbus/src/CAmRoutingSenderDbus.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/PluginRoutingInterfaceDbus/src/CAmRoutingSenderDbus.cpp b/PluginRoutingInterfaceDbus/src/CAmRoutingSenderDbus.cpp
index 06da0e6..9f4dc3b 100644
--- a/PluginRoutingInterfaceDbus/src/CAmRoutingSenderDbus.cpp
+++ b/PluginRoutingInterfaceDbus/src/CAmRoutingSenderDbus.cpp
@@ -154,10 +154,10 @@ am_Error_e CAmRoutingSenderDbus::asyncSetSinkVolume(const am_Handle_s handle, co
send.append(handle.handle);
send.append(sinkID);
send.append(volume);
- send.append(static_cast<int32_t>(ramp));
+ send.append(static_cast<int16_t>(ramp));
send.append(time);
mMapHandles.insert(std::make_pair(+handle.handle, iter->second));
- return (send.send());
+ return (send.sendAsync());
}
log(&routingDbus, DLT_LOG_ERROR, "CAmRoutingSenderDbus::asyncSetSinkVolume could not find interface");
return (E_UNKNOWN);
@@ -177,7 +177,7 @@ am_Error_e CAmRoutingSenderDbus::asyncSetSourceVolume(const am_Handle_s handle,
send.append(static_cast<int16_t>(ramp));
send.append(time);
mMapHandles.insert(std::make_pair(+handle.handle, iter->second));
- return (send.send());
+ return (send.sendAsync());
}
log(&routingDbus, DLT_LOG_ERROR, "CAmRoutingSenderDbus::asyncSetSourceVolume could not find interface");
return (E_UNKNOWN);
@@ -213,7 +213,7 @@ am_Error_e CAmRoutingSenderDbus::asyncSetSinkSoundProperties(const am_Handle_s h
send.append(sinkID);
send.append(listSoundProperties);
mMapHandles.insert(std::make_pair(+handle.handle, iter->second));
- return (send.send());
+ return (send.sendAsync());
}
log(&routingDbus, DLT_LOG_ERROR, "CAmRoutingSenderDbus::asyncSetSinkSoundProperties could not find interface");
return (E_UNKNOWN);
@@ -231,7 +231,7 @@ am_Error_e CAmRoutingSenderDbus::asyncSetSinkSoundProperty(const am_Handle_s han
send.append(sinkID);
send.append(soundProperty);
mMapHandles.insert(std::make_pair(+handle.handle, iter->second));
- return (send.send());
+ return (send.sendAsync());
}
log(&routingDbus, DLT_LOG_ERROR, "CAmRoutingSenderDbus::asyncSetSinkSoundProperty could not find interface");
return (E_UNKNOWN);
@@ -249,7 +249,7 @@ am_Error_e CAmRoutingSenderDbus::asyncSetSourceSoundProperties(const am_Handle_s
send.append(sourceID);
send.append(listSoundProperties);
mMapHandles.insert(std::make_pair(+handle.handle, iter->second));
- return (send.send());
+ return (send.sendAsync());
}
log(&routingDbus, DLT_LOG_ERROR, "CAmRoutingSenderDbus::asyncSetSourceSoundProperties could not find interface");
return (E_UNKNOWN);
@@ -267,7 +267,7 @@ am_Error_e CAmRoutingSenderDbus::asyncSetSourceSoundProperty(const am_Handle_s h
send.append(sourceID);
send.append(soundProperty);
mMapHandles.insert(std::make_pair(+handle.handle, iter->second));
- return (send.send());
+ return (send.sendAsync());
}
log(&routingDbus, DLT_LOG_ERROR, "CAmRoutingSenderDbus::asyncSetSourceSoundProperty could not find interface");
return (E_UNKNOWN);
@@ -293,7 +293,7 @@ am_Error_e CAmRoutingSenderDbus::setDomainState(const am_domainID_t domainID, co
{
CAmRoutingDbusSend send(mpDBusConnection, iter->second.busname, iter->second.path, iter->second.interface, "setDomainState");
send.append(domainID);
- send.append(static_cast<int>(domainState));
+ send.append(static_cast<uint16_t>(domainState));
return (send.send());
}
log(&routingDbus, DLT_LOG_ERROR, "CAmRoutingSenderDbus::setDomainState could not find interface");