summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceDbus
diff options
context:
space:
mode:
Diffstat (limited to 'PluginRoutingInterfaceDbus')
-rw-r--r--PluginRoutingInterfaceDbus/include/RoutingReceiver.xml2
-rw-r--r--PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp6
2 files changed, 5 insertions, 3 deletions
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">
<node>
- <interface name="org.genivi.audiomanager.RoutingReceiver">
+ <interface name="org.genivi.audiomanager.RoutingInterface">
<method name="ackConnect">
<arg name="handle" type="q" direction="in" />
<arg name="connectionID" type="q" direction="in" />
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)