mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-04-06 15:30:37 +02:00
* Use more hooks and no custom object managers * Use the settings manager for the config values * Allow fully disabling the hooks when both restore-props and restore-target are disabled in the settings * Change the format AND the name of the state file; use json directly in the values now that we can
17 lines
338 B
Lua
17 lines
338 B
Lua
-- WirePlumber
|
|
--
|
|
-- Copyright © 2022 Collabora Ltd.
|
|
--
|
|
-- SPDX-License-Identifier: MIT
|
|
|
|
-- Device settings manager
|
|
|
|
local settings_manager = require ("settings-manager")
|
|
|
|
local defaults = {
|
|
["restore-props"] = true,
|
|
["restore-target"] = true,
|
|
["default-channel-volume"] = 1.0,
|
|
}
|
|
|
|
return settings_manager.new ("stream.", defaults)
|