sink: Add missing 'hifi' form factor to priorities

Assign it a propriety of 600, therefore ranking higher then speaker,
but below headphone.

https://bugs.freedesktop.org/show_bug.cgi?id=100579
This commit is contained in:
Christian Kellner 2017-04-05 13:59:08 +02:00 committed by Tanu Kaskinen
parent 6f4d303b6a
commit 9418807c92

View file

@ -3512,6 +3512,8 @@ unsigned pa_device_init_priority(pa_proplist *p) {
if (pa_streq(s, "headphone"))
priority += 900;
else if (pa_streq(s, "hifi"))
priority += 600;
else if (pa_streq(s, "speaker"))
priority += 500;
else if (pa_streq(s, "portable"))