loopback: Enable routing on loopback streams
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Wed, 20 Jun 2012 15:33:35 +0000 (17:33 +0200)
committerJaska Uimonen <jaska.uimonen@intel.com>
Thu, 24 Jan 2013 07:29:36 +0000 (09:29 +0200)
commitcbd362101e36a504b12cd6deebdc0bea046083f4
tree2c656fbdb1b081c1812c5f5aa091039affd7c1cd
parent3843309ea5657f284d8cecfa29df8da829d42b67
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