diff --git a/src/config/wireplumber.conf.d/libcamera.conf b/src/config/wireplumber.conf.d/libcamera.conf index 9d7d0c0a..6cd93d85 100644 --- a/src/config/wireplumber.conf.d/libcamera.conf +++ b/src/config/wireplumber.conf.d/libcamera.conf @@ -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 + # } + # } + # } ] } diff --git a/src/config/wireplumber.conf.d/stream.conf b/src/config/wireplumber.conf.d/stream.conf index 6966b08a..60910e79 100644 --- a/src/config/wireplumber.conf.d/stream.conf +++ b/src/config/wireplumber.conf.d/stream.conf @@ -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 + # } + # } + # } ] } diff --git a/src/config/wireplumber.conf.d/v4l2.conf b/src/config/wireplumber.conf.d/v4l2.conf index ba72f91e..38fedd7c 100644 --- a/src/config/wireplumber.conf.d/v4l2.conf +++ b/src/config/wireplumber.conf.d/v4l2.conf @@ -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 + # } + # } + # } ] }