diff --git a/src/config/main.lua.d/40-device-defaults.lua b/src/config/main.lua.d/40-device-defaults.lua index 2204c4ac..fbbfa9d6 100644 --- a/src/config/main.lua.d/40-device-defaults.lua +++ b/src/config/main.lua.d/40-device-defaults.lua @@ -8,7 +8,7 @@ device_defaults.properties = { ["use-persistent-storage"] = true, -- the default volume to apply to ACP device nodes, in the linear scale - --["default-volume"] = 0.4, + --["default-volume"] = 0.064, -- Whether to auto-switch to echo cancel sink and source nodes or not ["auto-echo-cancel"] = true, diff --git a/src/scripts/policy-device-routes.lua b/src/scripts/policy-device-routes.lua index 075f5d63..2b44e42b 100644 --- a/src/scripts/policy-device-routes.lua +++ b/src/scripts/policy-device-routes.lua @@ -14,7 +14,7 @@ local config = ... or {} use_persistent_storage = config["use-persistent-storage"] or false -- the default volume to apply -default_volume = tonumber(config["default-volume"] or 0.4) +default_volume = tonumber(config["default-volume"] or 0.4^3) -- table of device info dev_infos = {}