]> code.delx.au - pulseaudio/commit
card: Only set active_profile with available profile
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sun, 3 Nov 2013 13:05:34 +0000 (15:05 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 5 Nov 2013 19:33:04 +0000 (21:33 +0200)
commitf434087e42bca15fae938f6cc01d2875c4c7728b
treebc820ead8a10f81830f58dc37ccb55cf5202f609
parent85e7fbc196f4424f68e530c2e3a01d9b941f293e
card: Only set active_profile with available profile

When a card is being created and no profile has been assigned
pa_card_new will attempt to select one from the list but it does that
without checking the available flag which can lead to select profiles
not available.
src/pulsecore/card.c