mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-01 11:37:57 +02:00
policy-device-endpoint.lua: remove unused move configuration
This commit is contained in:
parent
a23168af52
commit
d79d3e1465
1 changed files with 3 additions and 3 deletions
|
|
@ -5,8 +5,8 @@
|
|||
--
|
||||
-- SPDX-License-Identifier: MIT
|
||||
|
||||
local move = Settings.parse_boolean_safe ("policy.default.move", false)
|
||||
local follow = Settings.parse_boolean_safe ("policy.default.follow", false)
|
||||
local config = {}
|
||||
config.follow = Settings.parse_boolean_safe ("policy.default.follow", true)
|
||||
|
||||
local self = {}
|
||||
self.scanning = false
|
||||
|
|
@ -207,7 +207,7 @@ links_om = ObjectManager {
|
|||
}
|
||||
|
||||
-- listen for default node changes if "follow" setting is enabled
|
||||
if follow then
|
||||
if config.follow then
|
||||
default_nodes:connect("changed", function (p)
|
||||
scheduleRescan ()
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue