]> code.delx.au - pulseaudio/commit
card: Ensure we still pick a profile even if it's unavailable.
authorColin Guthrie <colin@mageia.org>
Fri, 15 Nov 2013 08:33:37 +0000 (09:33 +0100)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Fri, 22 Nov 2013 09:30:33 +0000 (11:30 +0200)
commit84af39f28935d8490aa56bb4782c9fcfd38e6153
tree69c418419185c3b9958a69b88b25f81a039c32e7
parente9d760b55562b12c8df6070cf4c7e1b839ef197b
card: Ensure we still pick a profile even if it's unavailable.

f434087e42b introduced the potential to not select a card profile if
all the profiles were marked as unavailable.

While this is very unlikely, it's a theoretical posibility, so if the
initial choice of a profile fails, try harder.
src/pulsecore/card.c