From 4e1735f41d62d513c9578e70f76de2c2eb7d9eb9 Mon Sep 17 00:00:00 2001 From: christian linke Date: Tue, 16 Oct 2012 19:33:53 +0200 Subject: * more consistent naming of routing interface and fix in type Signed-off-by: christian linke --- PluginRoutingInterfaceDbus/include/RoutingReceiver.xml | 2 +- PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'PluginRoutingInterfaceDbus') diff --git a/PluginRoutingInterfaceDbus/include/RoutingReceiver.xml b/PluginRoutingInterfaceDbus/include/RoutingReceiver.xml index 711e166..76f998d 100644 --- a/PluginRoutingInterfaceDbus/include/RoutingReceiver.xml +++ b/PluginRoutingInterfaceDbus/include/RoutingReceiver.xml @@ -4,7 +4,7 @@ "http://standards.freedesktop.org/dbus/1.0/introspect.dtd"> - + 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) -- cgit v1.2.1