loopback: Enable routing on loopback streams
commitc6d8d1d7c19a105b224eac393e44bae319897b6b
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Wed, 20 Jun 2012 15:33:35 +0000 (20 17:33 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 4 Jul 2012 11:54:57 +0000 (4 14:54 +0300)
tree1f588ef1653885d3c84c6555016757666fa19e7f
parent750a5c187a3177e9fddf92fb468c20f4fb2d6fe5
loopback: Enable routing on loopback streams

At module-loopback load, if no sink is given, the default sink is used. If the
stream has a media.role property, the property cannot be used because a the
source or sink is forced to default. Both module-intended-roles and
module-device-manager are affected. The same apply to sources.

With this patch, if sink or source is missing, routing modules can be used.
src/modules/module-loopback.c