diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2017-09-06 16:08:29 +0300 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2017-09-13 08:10:11 +0530 |
commit | f30203c2d43eb16d76f25d87e1980e34a60753cf (patch) | |
tree | 3f9149adfe8c1ca4a0acc45d4d67044c4de69644 | |
parent | 0062bd860d83d18c34e867594b68de72d94a3259 (diff) | |
download | pulseaudio-f30203c2d43eb16d76f25d87e1980e34a60753cf.tar.gz |
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".
-rw-r--r-- | src/pulsecore/sink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index 22342890f..cbca8893f 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -3534,8 +3534,6 @@ unsigned pa_device_init_priority(pa_proplist *p) { priority += 500; else if (pa_streq(s, "portable")) priority += 450; - else if (pa_streq(s, "internal")) - priority += 400; } if ((s = pa_proplist_gets(p, PA_PROP_DEVICE_BUS))) { |