sink: Invert priorities to prefer external devices
authorChristian Kellner <christian@kellner.me>
Thu, 9 Mar 2017 14:51:49 +0000 (15:51 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 31 Mar 2017 14:11:29 +0000 (17:11 +0300)
commitb53dd1f0df269d7e1b55e059b0a0d3d530b124b5
treedbc8341f39eb105a0914c5c5f8077acc8f2f0ec9
parenta3acc167aa2131b0d2ece735f56104edfe6981d2
sink: Invert priorities to prefer external devices

Currently internal > speaker > headphone and pci > usb > bluetooth.
Invert both of these sets, with the reasoning that a headphone and
speakers are something that a user has actively attached and should
therefore get a higher priority. The same reasoning is applied for
the bus type, i.e. bluetooth and usb should be higher than pci,
because they most likely have been actively attached be a user.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=99222
src/pulsecore/sink.c