summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/CAmRoutingReceiver.cpp
diff options
context:
space:
mode:
authorAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>2014-11-18 16:03:11 +0100
committerAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>2014-11-18 16:03:11 +0100
commitc43d2f869946642e173554923904e6c92881a008 (patch)
tree3ac6d27feebe734ca9e265a00aa58db8fdc7f350 /AudioManagerDaemon/src/CAmRoutingReceiver.cpp
parent97e2c0ec77ab2d7508752e73cde80194a82555b5 (diff)
downloadaudiomanager-c43d2f869946642e173554923904e6c92881a008.tar.gz
* Lazy lookup for static registered sources and sinks.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/src/CAmRoutingReceiver.cpp')
-rw-r--r--AudioManagerDaemon/src/CAmRoutingReceiver.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/AudioManagerDaemon/src/CAmRoutingReceiver.cpp b/AudioManagerDaemon/src/CAmRoutingReceiver.cpp
index 67bc911..29f7db7 100644
--- a/AudioManagerDaemon/src/CAmRoutingReceiver.cpp
+++ b/AudioManagerDaemon/src/CAmRoutingReceiver.cpp
@@ -479,6 +479,16 @@ void CAmRoutingReceiver::hookSourceNotificationDataChange(const am_sourceID_t so
mpControlSender->hookSourceNotificationDataChanged(sourceID,payload);
}
+am_Error_e CAmRoutingReceiver::getDomainOfSink(const am_sinkID_t sinkID, am_domainID_t& domainID)
+{
+ return mpDatabaseHandler->getDomainOfSink(sinkID,domainID);
+}
+
+am_Error_e CAmRoutingReceiver::getDomainOfSource(const am_sourceID_t sourceID, am_domainID_t& domainID)
+{
+ return mpDatabaseHandler->getDomainOfSource(sourceID,domainID);
+}
+
void am::CAmRoutingReceiver::waitOnRundown(bool rundown)
{
mWaitRundown = rundown;