diff options
author | Christian Kellner <christian@kellner.me> | 2017-04-05 13:59:08 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2017-04-19 17:04:35 +0300 |
commit | 9418807c92a6c5806cfcf370a28792c871cfda6c (patch) | |
tree | b0c67b1d68df7d54f3a5162348fb8ac8887a473e | |
parent | 6f4d303b6a5474fc421c28bd56d1e686ecccd659 (diff) | |
download | pulseaudio-9418807c92a6c5806cfcf370a28792c871cfda6c.tar.gz |
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
-rw-r--r-- | src/pulsecore/sink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index bff345f85..92670c136 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -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")) |