From: Aleksandar Donchev Date: Wed, 12 Feb 2014 13:49:32 +0000 (+0100) Subject: * Applied routing_send_async_calls.patch X-Git-Tag: accepted/tizen/ivi/20140919.141601~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0aac39c5c94dfcd8304ed44c13b0d3d6d1b186fa;hp=589dbdab657e4d2b9d9c2c6a0d1bb643d99cc672;p=profile%2Fivi%2Fgenivi%2Fgenivi-audio-manager.git * Applied routing_send_async_calls.patch Signed-off-by: Christian Linke --- 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(ramp)); + send.append(static_cast(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(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(domainState)); + send.append(static_cast(domainState)); return (send.send()); } log(&routingDbus, DLT_LOG_ERROR, "CAmRoutingSenderDbus::setDomainState could not find interface");