mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 06:38:01 +02:00
parent
979fd59329
commit
b78e441c79
1 changed files with 6 additions and 1 deletions
|
|
@ -114,6 +114,9 @@ function createNode(parent, id, type, factory, properties)
|
|||
|
||||
-- apply properties from config.rules
|
||||
rulesApplyProperties(properties)
|
||||
if properties ["node.disabled"] then
|
||||
return
|
||||
end
|
||||
|
||||
-- create the node
|
||||
local node = Node("spa-node-factory", properties)
|
||||
|
|
@ -148,7 +151,9 @@ function createDevice(parent, id, type, factory, properties)
|
|||
|
||||
-- apply properties from config.rules
|
||||
rulesApplyProperties(properties)
|
||||
|
||||
if properties ["device.disabled"] then
|
||||
return
|
||||
end
|
||||
-- create the device
|
||||
local device = SpaDevice(factory, properties)
|
||||
if device then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue