mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 05:08:04 +02:00
monitors/bluez: fix BAP device set node naming
It is intended that its name is the actual device node name. Fix this, as it was broken in some recent changes.
This commit is contained in:
parent
8ee351838d
commit
9d7c6b85d0
1 changed files with 0 additions and 4 deletions
|
|
@ -171,7 +171,6 @@ end)
|
|||
|
||||
function createSetNode(parent, id, type, factory, properties)
|
||||
local args = {}
|
||||
local name
|
||||
local target_class
|
||||
local stream_class
|
||||
local rules = {}
|
||||
|
|
@ -181,12 +180,10 @@ function createSetNode(parent, id, type, factory, properties)
|
|||
local channels = channels_json:parse ()
|
||||
|
||||
if properties["media.class"] == "Audio/Sink" then
|
||||
name = "bluez_output_internal"
|
||||
args["combine.mode"] = "sink"
|
||||
target_class = "Audio/Sink/Internal"
|
||||
stream_class = "Stream/Output/Audio/Internal"
|
||||
else
|
||||
name = "bluez_input_internal"
|
||||
args["combine.mode"] = "source"
|
||||
target_class = "Audio/Source/Internal"
|
||||
stream_class = "Stream/Input/Audio/Internal"
|
||||
|
|
@ -214,7 +211,6 @@ function createSetNode(parent, id, type, factory, properties)
|
|||
)
|
||||
end
|
||||
|
||||
properties["node.name"] = name
|
||||
properties["node.virtual"] = false
|
||||
properties["device.api"] = "bluez5"
|
||||
properties["api.bluez5.set.members"] = nil
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue