summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp
diff options
context:
space:
mode:
authorchristian linke <christian.linke@bmw.de>2012-10-16 19:33:53 +0200
committerchristian linke <christian.linke@bmw.de>2012-10-16 19:33:53 +0200
commit4e1735f41d62d513c9578e70f76de2c2eb7d9eb9 (patch)
treef87b585fcdb7629088995b130d6086963cbb0199 /PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp
parent1de0967c2d36f62391240294615a7b6eaa80d053 (diff)
downloadaudiomanager-4e1735f41d62d513c9578e70f76de2c2eb7d9eb9.tar.gz
* more consistent naming of routing interface and fix in type
Signed-off-by: christian linke <christian.linke@bmw.de>
Diffstat (limited to 'PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp')
-rw-r--r--PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp b/PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp
index 8759253..39bad94 100644
--- a/PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp
+++ b/PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp
@@ -510,10 +510,12 @@ void IAmRoutingReceiverShadowDbus::hookInterruptStatusChange(DBusConnection* con
(void) ((conn));
assert(mRoutingReceiveInterface != NULL);
mDBUSMessageHandler.initReceive(msg);
- am_sourceID_t sourceID = mDBUSMessageHandler.getInt();
- am_InterruptState_e interruptState = (am_InterruptState_e)((mDBUSMessageHandler.getInt()));
+ am_sourceID_t sourceID = mDBUSMessageHandler.getUInt();
+ am_InterruptState_e interruptState = (am_InterruptState_e)((mDBUSMessageHandler.getUInt()));
log(&routingDbus, DLT_LOG_INFO, "IAmRoutingReceiverShadow::hookInterruptStatusChange called, sourceID", sourceID);
mRoutingReceiveInterface->hookInterruptStatusChange(sourceID, interruptState);
+ mDBUSMessageHandler.initReply(msg);
+ mDBUSMessageHandler.sendMessage();
}
void IAmRoutingReceiverShadowDbus::hookSinkAvailablityStatusChange(DBusConnection* conn, DBusMessage* msg)