From fa8be059592cb1454e6f922c14295d021e10efa3 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Wed, 5 Apr 2017 13:59:08 +0200 Subject: [PATCH] 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 --- src/pulsecore/sink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index 562f07f..bfe2b97 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -3513,6 +3513,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")) -- 2.9.3