mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-26 07:10:04 +01:00
src: config: rename endpoint-support to session-item-support
This commit is contained in:
parent
04992f0d07
commit
32fea4057c
3 changed files with 10 additions and 10 deletions
|
|
@ -1,19 +1,19 @@
|
|||
-- Endpoint support config file --
|
||||
-- Session Item support config file --
|
||||
|
||||
endpoint_support = {}
|
||||
session_item_support = {}
|
||||
|
||||
endpoint_support.sessions = {
|
||||
session_item_support.sessions = {
|
||||
-- [session name] = { session properties }
|
||||
["audio"] = {},
|
||||
["video"] = {},
|
||||
}
|
||||
|
||||
endpoint_support.policy = {
|
||||
move = true, -- moves endpoints when metadata target.node changes
|
||||
follow = true -- moves endpoints to the default device when it has changed
|
||||
session_item_support.policy = {
|
||||
move = true, -- moves session items when metadata target.node changes
|
||||
follow = true -- moves session items to the default device when it has changed
|
||||
}
|
||||
|
||||
function endpoint_support.enable()
|
||||
function session_item_support.enable()
|
||||
-- Session item factories, building blocks for the session management graph
|
||||
-- Do not disable these unless you really know what you are doing
|
||||
load_module("si-node")
|
||||
|
|
@ -22,11 +22,11 @@ function endpoint_support.enable()
|
|||
load_module("si-standard-link")
|
||||
|
||||
-- Create sessions statically at startup
|
||||
load_script("static-sessions.lua", endpoint_support.sessions)
|
||||
load_script("static-sessions.lua", session_item_support.sessions)
|
||||
|
||||
-- Create items for nodes that appear in the graph
|
||||
load_script("create-item.lua")
|
||||
|
||||
-- Link endpoints to each other to make media flow in the graph
|
||||
load_script("policy-endpoint.lua", endpoint_support.policy)
|
||||
load_script("policy-endpoint.lua", session_item_support.policy)
|
||||
end
|
||||
|
|
@ -1 +0,0 @@
|
|||
endpoint_support.enable()
|
||||
1
src/config/config.lua.d/90-enable-session-items.lua
Normal file
1
src/config/config.lua.d/90-enable-session-items.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
session_item_support.enable()
|
||||
Loading…
Add table
Reference in a new issue