config: replace "policy" with "linking"

This commit is contained in:
Ashok Sidipotu
2023-09-12 12:25:18 +05:30
committed by George Kiagiadakis
parent 70b781ed64
commit 1f92767d4b
3 changed files with 15 additions and 13 deletions

View File

@@ -1,36 +1,37 @@
## The WirePlumber policy configuration ## The WirePlumber linking configuration
wireplumber.settings = { wireplumber.settings = {
## Moves session items when metadata target.node changes ## Moves session items when metadata ``target.object`` changes. Also responds to
# policy.default.move = true ##`target.node` key. But `target.object` is the canonical key.
# linking.default.move = true
## Moves session items to the default device when it has changed ## Moves session items to the default device when it has changed
# policy.default.follow = true # linking.default.follow = true
## Whether to forward the ports format of filter stream nodes to their ## Whether to forward the ports format of filter stream nodes to their
## associated filter device nodes. This is needed for application to stream ## associated filter device nodes. This is needed for application to stream
## surround audio if echo-cancel is enabled. ## surround audio if echo-cancel is enabled.
# policy.default.filter-forward-format = false # linking.default.filter-forward-format = false
## Set to 'true' to disable channel splitting & merging on nodes and enable ## Set to 'true' to disable channel splitting & merging on nodes and enable
## passthrough of audio in the same format as the format of the device. ## passthrough of audio in the same format as the format of the device.
## Note that this breaks JACK support; it is generally not recommended ## Note that this breaks JACK support; it is generally not recommended
# policy.default.audio-no-dsp = false # linking.default.audio-no-dsp = false
## How much to lower the volume of lower priority streams when ducking ## How much to lower the volume of lower priority streams when ducking
## note that this is a linear volume modifier (not cubic as in pulseaudio) ## note that this is a linear volume modifier (not cubic as in pulseaudio)
# policy.default.duck-level = 0.3 # linking.default.duck-level = 0.3
## Whether to store state on the filesystem. ## Whether to store state on the filesystem.
# policy.bluetooth.use-persistent-storage = true # linking.bluetooth.use-persistent-storage = true
## Whether to use headset profile in the presence of an input stream. ## Whether to use headset profile in the presence of an input stream.
# policy.bluetooth.media-role.use-headset-profile = true # linking.bluetooth.media-role.use-headset-profile = true
## Application names correspond to application.name in stream properties. ## Application names correspond to application.name in stream properties.
## Applications which do not set media.role but which should be considered ## Applications which do not set media.role but which should be considered
## for role based profile switching can be specified here. ## for role based profile switching can be specified here.
policy.bluetooth.media-role.applications = [ linking.bluetooth.media-role.applications = [
"Firefox", "Chromium input", "Google Chrome input", "Brave input", "Firefox", "Chromium input", "Google Chrome input", "Brave input",
"Microsoft Edge input", "Vivaldi input", "ZOOM VoiceEngine", "Microsoft Edge input", "Vivaldi input", "ZOOM VoiceEngine",
"Telegram Desktop", "telegram-desktop", "linphone", "Mumble", "Telegram Desktop", "telegram-desktop", "linphone", "Mumble",

View File

@@ -4,7 +4,7 @@
-- --
-- SPDX-License-Identifier: MIT -- SPDX-License-Identifier: MIT
-- Policy settings manager -- linking settings manager
local settings_manager = require ("settings-manager") local settings_manager = require ("settings-manager")
@@ -16,4 +16,5 @@ local defaults = {
["duck-level"] = 0.3, ["duck-level"] = 0.3,
} }
return settings_manager.new ("policy.default.", defaults) return settings_manager.new ("linking.default.", defaults)

View File

@@ -5,7 +5,7 @@
-- SPDX-License-Identifier: MIT -- SPDX-License-Identifier: MIT
-- Script is a Lua Module of policy Lua utility functions -- Script is a Lua Module of linking Lua utility functions
local cutils = require ("common-utils") local cutils = require ("common-utils")