mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-13 11:30:20 +01:00
* rename settings to make more sense * split out monitor settings into a separate category * add setting for restoring the default nodes in the node category
24 lines
562 B
Lua
24 lines
562 B
Lua
-- WirePlumber
|
|
--
|
|
-- Copyright © 2022 Collabora Ltd.
|
|
--
|
|
-- SPDX-License-Identifier: MIT
|
|
|
|
-- Node settings manager
|
|
|
|
local settings_manager = require ("settings-manager")
|
|
|
|
local defaults = {
|
|
["features.audio.no-dsp"] = false,
|
|
["features.audio.monitor-ports"] = true,
|
|
["features.audio.control-port"] = false,
|
|
|
|
["stream.restore-props"] = true,
|
|
["stream.restore-target"] = true,
|
|
["stream.default-playback-volume"] = 1.0,
|
|
["stream.default-capture-volume"] = 1.0,
|
|
|
|
["restore-default-targets"] = true,
|
|
}
|
|
|
|
return settings_manager.new ("node.", defaults)
|