mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-10 01:50:14 +01:00
lua: s/Feature.Object.ALL/Features.ALL/
It looks nicer to have groups of features in 'Features.' instead of 'Feature.'
This commit is contained in:
parent
8052ef2792
commit
fd2ddffdd7
3 changed files with 2 additions and 5 deletions
|
|
@ -77,9 +77,6 @@ local Features = {
|
|||
}
|
||||
|
||||
local Feature = {
|
||||
Object = {
|
||||
ALL = 0xffffffff,
|
||||
},
|
||||
Proxy = {
|
||||
BOUND = 1,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ function addItem (node, item_type)
|
|||
end
|
||||
|
||||
-- activate item
|
||||
items[id]:activate (Feature.Object.ALL, function (item)
|
||||
items[id]:activate (Features.ALL, function (item)
|
||||
Log.info(item, "activated item for node " .. tostring(id))
|
||||
item:register ()
|
||||
end)
|
||||
|
|
|
|||
|
|
@ -24,6 +24,6 @@ if sessions_config then
|
|||
["session.name"] = k
|
||||
})
|
||||
end
|
||||
sessions[k]:activate(Feature.Object.ALL)
|
||||
sessions[k]:activate(Features.ALL)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue