mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-09 03:40:15 +01:00
alsa: boost pro- profiles priority
So that they are more likely to become the driver in the graph.
This commit is contained in:
parent
b8201d2716
commit
eae8d2d0b5
1 changed files with 3 additions and 1 deletions
|
|
@ -82,7 +82,9 @@ function createNode(parent, id, obj_type, factory, properties)
|
|||
|
||||
priority = priority - (tonumber(dev) * 16) - tonumber(subdev)
|
||||
|
||||
if profile:find("^analog%-") then
|
||||
if profile:find("^pro%-") then
|
||||
priority = priority + 500
|
||||
elseif profile:find("^analog%-") then
|
||||
priority = priority + 9
|
||||
elseif profile:find("^iec958%-") then
|
||||
priority = priority + 8
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue