diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-07 17:43:37 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-07 17:43:37 +0100 |
commit | 8a2db276ede7516038eb5d2bf13b89cc3ff185a7 (patch) | |
tree | fbd1a82775a0165a285e28696700c47a96b8a208 /AudioManagerDaemon/src | |
parent | f00468f45b72e2693b79af30665f683967deb5a7 (diff) | |
download | audiomanager-8a2db276ede7516038eb5d2bf13b89cc3ff185a7.tar.gz |
* add another routing test
* change answer in case routing can not be done on only one domain
Diffstat (limited to 'AudioManagerDaemon/src')
-rw-r--r-- | AudioManagerDaemon/src/Router.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AudioManagerDaemon/src/Router.cpp b/AudioManagerDaemon/src/Router.cpp index 8bc2924..9ed0f5b 100644 --- a/AudioManagerDaemon/src/Router.cpp +++ b/AudioManagerDaemon/src/Router.cpp @@ -60,9 +60,9 @@ am_Error_e Router::getRoute(const bool onlyfree, const am_sourceID_t sourceID, c //get the prio of the Controller: mControlSender->getConnectionFormatChoice(sourceID, sinkID, listFormats, listPriorityConnectionFormats); - //no possible connection, so no route ! + //no possible connection, so no route ! But we report OK since there is no fault ... if (listPriorityConnectionFormats.empty()) - return E_NOT_POSSIBLE; + return E_OK; //return the first item as route: am_RoutingElement_s routingElement; |