conf: remove extra object level

We can parse this without the extra object level.
Use 4 spaces per level
This commit is contained in:
Wim Taymans 2020-12-31 21:45:36 +01:00
parent d3f314cf82
commit d99ac615b2
3 changed files with 96 additions and 99 deletions

View file

@ -1,22 +1,21 @@
# alsa-monitor config file # alsa-monitor config file
{
properties = { properties = {
} }
rules = [ rules = [
# an array of matches/actions to evaluate
{ {
# rules for matching a device or node. It is an array of # rules for matching a device or node. It is an array of
# properties that all need to match the regexp. If any of the # properties that all need to match the regexp. If any of the
# matches work, the actions are executed for the object. # matches work, the actions are executed for the object.
matches = [ matches = [
{ {
# this matches all cards
device.name = ~alsa_card.* device.name = ~alsa_card.*
} }
] ]
actions = { actions = {
# actions can update properties on the matched object. # actions can update properties on the matched object.
update-props = { update-props = {
api.alsa.use-acp = true api.alsa.use-acp = true
#api.alsa.use-ucm = true #api.alsa.use-ucm = true
@ -33,9 +32,11 @@
{ {
matches = [ matches = [
{ {
# matches all sinks
node.name = ~alsa_input.* node.name = ~alsa_input.*
} }
{ {
# matches all sources
node.name = ~alsa_output.* node.name = ~alsa_output.*
} }
] ]
@ -55,4 +56,4 @@
} }
} }
] ]
}

View file

@ -1,5 +1,4 @@
# media-session config file # media-session config file
{
properties = { properties = {
# Properties to configure the session and some # Properties to configure the session and some
# modules # modules
@ -57,4 +56,3 @@
restore-stream restore-stream
] ]
} }
}

View file

@ -1,5 +1,4 @@
#daemon config file for PipeWire version @VERSION@ #daemon config file for PipeWire version @VERSION@
{
properties = { properties = {
## configure properties in the system ## configure properties in the system
#library.name.system = support/libspa-support #library.name.system = support/libspa-support
@ -98,4 +97,3 @@
# #
#"@pipewire_pulse_path@" = { "#args" = "-a tcp:4713" } #"@pipewire_pulse_path@" = { "#args" = "-a tcp:4713" }
} }
}