module-switch-on-port-available: Use input and output names
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 17 Nov 2015 14:10:34 +0000 (15:10 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Sun, 22 Nov 2015 02:59:29 +0000 (04:59 +0200)
commit063a1d350fad1cb6fac28dbffe26a7e805626cb2
tree382f1f5144235753317e363840ef1e1c387d20f0
parent9059fb3b4ed7ade607846f4846842c2b1ce699fa
module-switch-on-port-available: Use input and output names

In case input or output names are filled in, we can use this to
get a better match in the profile_good_for_input/output functions
instead of guessing based on number of sources and channels.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/module-switch-on-port-available.c