mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-06 05:58:24 +02:00
Wireplumber Settings: Port the latest changes from master
Port them from Lua config to JSON config.
This commit is contained in:
parent
6762de3990
commit
efb0c5a635
3 changed files with 5 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ wireplumber.settings = {
|
|||
|
||||
# These properties override node defaults when running in a virtual machine.
|
||||
# The rules below still override those.
|
||||
monitor.vm.node.defaults = {
|
||||
monitor.alsa.vm.node.defaults = {
|
||||
api.alsa.period-size = 256
|
||||
api.alsa.headroom = 8192
|
||||
}
|
||||
|
|
@ -143,6 +143,7 @@ wireplumber.settings = {
|
|||
# channelmix.hilbert-taps = 0
|
||||
# channelmix.disable = false
|
||||
# dither.noise = 0
|
||||
# dither.method = "none"
|
||||
# audio.channels = 2
|
||||
# audio.format = "S16LE"
|
||||
# audio.rate = 44100
|
||||
|
|
|
|||
|
|
@ -34,7 +34,8 @@ wireplumber.settings = {
|
|||
# device.echo-cancel-source-name = "echo-cancel-source"
|
||||
|
||||
# device default volume level
|
||||
# device.default-volume = 0.5
|
||||
# device.default-volume = 0.064
|
||||
# device.default-input-volume = 1.0
|
||||
|
||||
# Sets persistent device profiles that should never be changed, when
|
||||
# wireplumber is running, even if a new profile with higher priority becomes
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ function createNode(parent, id, obj_type, factory, properties)
|
|||
end
|
||||
|
||||
-- apply VM overrides
|
||||
local vm_overrides = config_settings["vm.node.defaults"]
|
||||
local vm_overrides = config_settings ["monitor.alsa.vm.node.defaults"]
|
||||
if nonempty(Core.get_vm_type()) and type(vm_overrides) == "table" then
|
||||
for k, v in pairs(vm_overrides) do
|
||||
properties[k] = v
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue