projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f4d303
)
sink: Add missing 'hifi' form factor to priorities
author
Christian Kellner
<christian@kellner.me>
Wed, 5 Apr 2017 11:59:08 +0000
(13:59 +0200)
committer
Tanu Kaskinen
<tanuk@iki.fi>
Wed, 19 Apr 2017 14:04:35 +0000
(17:04 +0300)
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
patch
|
blob
|
history
diff --git
a/src/pulsecore/sink.c
b/src/pulsecore/sink.c
index
bff345f
..
92670c1
100644
(file)
--- 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"))