mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 06:30:04 +01:00
config: Add new 'node.features.audio.mono' setting
This setting allows users to toggle between MONO audio or not at runtime.
This commit is contained in:
parent
084b3aab89
commit
f82247c42c
3 changed files with 18 additions and 0 deletions
10
po/conf.pot
10
po/conf.pot
|
|
@ -153,6 +153,16 @@ msgstr ""
|
|||
msgid "Monitor ports"
|
||||
msgstr ""
|
||||
|
||||
#. /wireplumber.settings.schema/node.features.audio.mono/description
|
||||
#: wireplumber.conf
|
||||
msgid "Configure all audio nodes in MONO"
|
||||
msgstr ""
|
||||
|
||||
#. /wireplumber.settings.schema/node.features.audio.mono/name
|
||||
#: wireplumber.conf
|
||||
msgid "Mono"
|
||||
msgstr ""
|
||||
|
||||
#. /wireplumber.settings.schema/node.features.audio.no-dsp/description
|
||||
#: wireplumber.conf
|
||||
msgid "Do not convert audio to F32 format"
|
||||
|
|
|
|||
|
|
@ -932,6 +932,12 @@ wireplumber.settings.schema = {
|
|||
type = "bool"
|
||||
default = false
|
||||
}
|
||||
node.features.audio.mono = {
|
||||
name = "Mono"
|
||||
description = "Configure all audio nodes in MONO"
|
||||
type = "bool"
|
||||
default = false
|
||||
}
|
||||
node.stream.restore-props = {
|
||||
name = "Restore properties"
|
||||
description = "Remember and restore properties of streams"
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ function configProperties (node)
|
|||
Settings.get_boolean ("node.features.audio.monitor-ports")
|
||||
properties ["item.features.control-port"] =
|
||||
Settings.get_boolean ("node.features.audio.control-port")
|
||||
properties ["item.features.mono"] =
|
||||
Settings.get_boolean ("node.features.audio.mono")
|
||||
properties ["node.id"] = node ["bound-id"]
|
||||
|
||||
-- set the default media.role, if configured
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue