mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-25 06:59:57 -05:00
style: Reformat config files
Use spaces instead of tabs (as they depend on text editor settings). Make configuration files more readable and consistent seeing as there were some mixed indentation and styling. Also put some logic into styling.
This commit is contained in:
parent
b6108df6f3
commit
0d56f717bf
5 changed files with 146 additions and 144 deletions
|
|
@ -1,7 +1,6 @@
|
|||
# V4L2 monitor config file #
|
||||
|
||||
properties = {
|
||||
}
|
||||
properties = { }
|
||||
|
||||
rules = [
|
||||
# An array of matches/actions to evaluate.
|
||||
|
|
@ -11,35 +10,35 @@ rules = [
|
|||
# matches work, the actions are executed for the object.
|
||||
matches = [
|
||||
{
|
||||
# This matches all devices.
|
||||
# This matches all devices.
|
||||
device.name = "~v4l2_device.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
# Actions can update properties on the matched object.
|
||||
update-props = {
|
||||
#device.nick = "My Device"
|
||||
#device.nick = "My Device"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
# Matches all sinks.
|
||||
# Matches all sinks.
|
||||
node.name = "~v4l2_input.*"
|
||||
}
|
||||
{
|
||||
# Matches all sources.
|
||||
# Matches all sources.
|
||||
node.name = "~v4l2_output.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
#node.nick = "My Node"
|
||||
#node.nick = null
|
||||
#priority.driver = 100
|
||||
#priority.session = 100
|
||||
node.pause-on-idle = false
|
||||
#node.nick = "My Node"
|
||||
#node.nick = null
|
||||
#priority.driver = 100
|
||||
#priority.session = 100
|
||||
node.pause-on-idle = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue