On Tue, 2015-05-05 at 17:01 +0200, David Henningsson wrote: > diff --git a/src/modules/module-switch-on-port-available.c b/src/modules/module-switch-on-port-available.c > index eb8f2d7..8de68a3 100644 > --- a/src/modules/module-switch-on-port-available.c > +++ b/src/modules/module-switch-on-port-available.c > @@ -34,6 +35,9 @@ static bool profile_good_for_output(pa_card_profile *profile) { > Â > Â Â Â Â Â pa_assert(profile); > Â > +Â Â Â Â if (!pa_safe_streq(profile->card->active_profile->input_name, profile->input_name)) > +Â Â Â Â Â Â Â Â return false; It should be easy to make this work with profiles that have multiple sources: just check that the candidate profile has all the sources that the active profile has. --Â Tanu