mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-07 21:20:12 +01:00
config: comment all remaining rules
This commit is contained in:
parent
6afca096e8
commit
36cba7fe55
3 changed files with 86 additions and 86 deletions
|
|
@ -9,41 +9,41 @@ wireplumber.settings = {
|
|||
|
||||
## The list of monitor rules
|
||||
monitor.libcamera.rules = [
|
||||
{
|
||||
## 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 = "~libcamera_device.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
# device.nick = "My Device"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
## Matches all sources.
|
||||
node.name = "~libcamera_input.*"
|
||||
}
|
||||
{
|
||||
## Matches all sinks.
|
||||
node.name = "~libcamera_output.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
# node.nick = "My Node"
|
||||
# priority.driver = 100
|
||||
# priority.session = 100
|
||||
# node.pause-on-idle = false
|
||||
}
|
||||
}
|
||||
}
|
||||
## This rule example allows changing properties on all libcamera devices.
|
||||
# {
|
||||
# matches = [
|
||||
# {
|
||||
# ## This matches all cards.
|
||||
# device.name = "~libcamera_device.*"
|
||||
# }
|
||||
# ]
|
||||
# actions = {
|
||||
# update-props = {
|
||||
# device.nick = "My Device"
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
## This rule example allows changing properties on all libcamera nodes.
|
||||
# {
|
||||
# matches = [
|
||||
# {
|
||||
# ## Matches all sources.
|
||||
# node.name = "~libcamera_input.*"
|
||||
# }
|
||||
# {
|
||||
# ## Matches all sinks.
|
||||
# node.name = "~libcamera_output.*"
|
||||
# }
|
||||
# ]
|
||||
# actions = {
|
||||
# update-props = {
|
||||
# node.nick = "My Node"
|
||||
# priority.driver = 100
|
||||
# priority.session = 100
|
||||
# node.pause-on-idle = false
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,19 +13,19 @@ wireplumber.settings = {
|
|||
|
||||
## The list of stream rules
|
||||
stream.rules = [
|
||||
## Rules to override settings per application/node
|
||||
{
|
||||
# matches = [
|
||||
# ## Matches all devices
|
||||
# { application.name = "pw-play" }
|
||||
# ]
|
||||
# actions = {
|
||||
# update-props = {
|
||||
# state.restore-props = false
|
||||
# state.restore-target = false
|
||||
# state.default-channel-volume = 1.0
|
||||
# }
|
||||
# }
|
||||
}
|
||||
## This rule example allows setting properties on the "pw-play" stream.
|
||||
# {
|
||||
# matches = [
|
||||
# ## Matches all devices
|
||||
# { application.name = "pw-play" }
|
||||
# ]
|
||||
# actions = {
|
||||
# update-props = {
|
||||
# state.restore-props = false
|
||||
# state.restore-target = false
|
||||
# state.default-channel-volume = 1.0
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,41 +6,41 @@ wireplumber.settings = {
|
|||
|
||||
## The list of monitor rules
|
||||
monitor.v4l2.rules = [
|
||||
{
|
||||
## 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 = "~v4l2_device.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
# device.nick = "My Device"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
## Matches all sources.
|
||||
node.name = "~v4l2_input.*"
|
||||
}
|
||||
{
|
||||
## Matches all sinks.
|
||||
node.name = "~v4l2_output.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
# node.nick = "My Node"
|
||||
# priority.driver = 100
|
||||
# priority.session = 100
|
||||
# node.pause-on-idle = false
|
||||
}
|
||||
}
|
||||
}
|
||||
## This rule example allows changing properties on all V4L2 devices.
|
||||
# {
|
||||
# matches = [
|
||||
# {
|
||||
# ## This matches all cards.
|
||||
# device.name = "~v4l2_device.*"
|
||||
# }
|
||||
# ]
|
||||
# actions = {
|
||||
# update-props = {
|
||||
# device.nick = "My Device"
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
## This rule example allows changing properties on all V4L2 nodes.
|
||||
# {
|
||||
# matches = [
|
||||
# {
|
||||
# ## Matches all sources.
|
||||
# node.name = "~v4l2_input.*"
|
||||
# }
|
||||
# {
|
||||
# ## Matches all sinks.
|
||||
# node.name = "~v4l2_output.*"
|
||||
# }
|
||||
# ]
|
||||
# actions = {
|
||||
# update-props = {
|
||||
# node.nick = "My Node"
|
||||
# priority.driver = 100
|
||||
# priority.session = 100
|
||||
# node.pause-on-idle = false
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue