mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
conf: remove extra object level
We can parse this without the extra object level. Use 4 spaces per level
This commit is contained in:
parent
d3f314cf82
commit
d99ac615b2
3 changed files with 96 additions and 99 deletions
|
|
@ -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 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -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" }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue