mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
sink: remove priority bonus for the "internal" form factor
We're supposed to prioritize USB sound cards over PCI sound cards, but the priority bonus for the "internal" form factor prevents this from happening. Not all (if any) USB sound cards have the form factor property set, whereas at least on my laptop the on-board sound card has the form factor set to "internal".
This commit is contained in:
parent
f63c13f62f
commit
bd151646dd
1 changed files with 0 additions and 2 deletions
|
|
@ -3558,8 +3558,6 @@ unsigned pa_device_init_priority(pa_proplist *p) {
|
||||||
priority += 500;
|
priority += 500;
|
||||||
else if (pa_streq(s, "portable"))
|
else if (pa_streq(s, "portable"))
|
||||||
priority += 450;
|
priority += 450;
|
||||||
else if (pa_streq(s, "internal"))
|
|
||||||
priority += 400;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((s = pa_proplist_gets(p, PA_PROP_DEVICE_BUS))) {
|
if ((s = pa_proplist_gets(p, PA_PROP_DEVICE_BUS))) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue