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

View file

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

View file

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