mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-17 20:30:22 +01:00
parent
f3f063760c
commit
c6445ed3db
1 changed files with 7 additions and 3 deletions
|
|
@ -69,9 +69,13 @@ function addItem (node, item_type)
|
|||
end
|
||||
|
||||
-- activate item
|
||||
items[id]:activate (Features.ALL, function (item)
|
||||
Log.info(item, "activated item for node " .. tostring(id))
|
||||
item:register ()
|
||||
items[id]:activate (Features.ALL, function (item, e)
|
||||
if e then
|
||||
Log.warning(item, "failed to activate item: " .. tostring(e));
|
||||
else
|
||||
Log.info(item, "activated item for node " .. tostring(id))
|
||||
item:register ()
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue