config: add {device|node}.disable
This commit is contained in:

committed by
George Kiagiadakis

parent
dee7403f69
commit
08ae195cdb
@@ -198,6 +198,13 @@ Some of the other properties that can be configured on devices:
|
|||||||
A longer, user-friendly name of the device. This will show up in most
|
A longer, user-friendly name of the device. This will show up in most
|
||||||
user interfaces as the device's name.
|
user interfaces as the device's name.
|
||||||
|
|
||||||
|
.. describe:: device.disable
|
||||||
|
|
||||||
|
Disables the device. PipeWire will remove it from the list of cards or
|
||||||
|
devices.
|
||||||
|
|
||||||
|
:Type: boolean
|
||||||
|
|
||||||
Node properties
|
Node properties
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -320,6 +327,12 @@ The following properties can be configured on nodes created by the monitor:
|
|||||||
|
|
||||||
:Type: boolean
|
:Type: boolean
|
||||||
|
|
||||||
|
.. describe:: node.disable
|
||||||
|
|
||||||
|
Disables the node. Pipewire will remove it from the list of the nodes.
|
||||||
|
|
||||||
|
:Type: boolean
|
||||||
|
|
||||||
ALSA buffer properties
|
ALSA buffer properties
|
||||||
......................
|
......................
|
||||||
|
|
||||||
|
@@ -36,6 +36,7 @@ monitor.alsa.rules = [
|
|||||||
# update-props = {
|
# update-props = {
|
||||||
# api.alsa.use-acp = true
|
# api.alsa.use-acp = true
|
||||||
# api.acp.auto-port = false
|
# api.acp.auto-port = false
|
||||||
|
# device.disabled = false
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
@@ -149,6 +150,7 @@ monitor.alsa.rules = [
|
|||||||
#
|
#
|
||||||
# ## 0 disables suspend
|
# ## 0 disables suspend
|
||||||
# session.suspend-timeout-seconds = 5
|
# session.suspend-timeout-seconds = 5
|
||||||
|
# node.disabled = false
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
|
@@ -18,6 +18,7 @@ monitor.libcamera.rules = [
|
|||||||
# actions = {
|
# actions = {
|
||||||
# update-props = {
|
# update-props = {
|
||||||
# device.nick = "My Device"
|
# device.nick = "My Device"
|
||||||
|
# device.disabled = false
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
@@ -40,6 +41,7 @@ monitor.libcamera.rules = [
|
|||||||
# priority.driver = 100
|
# priority.driver = 100
|
||||||
# priority.session = 100
|
# priority.session = 100
|
||||||
# node.pause-on-idle = false
|
# node.pause-on-idle = false
|
||||||
|
# node.disabled = false
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
|
@@ -18,6 +18,7 @@ monitor.v4l2.rules = [
|
|||||||
# actions = {
|
# actions = {
|
||||||
# update-props = {
|
# update-props = {
|
||||||
# device.nick = "My Device"
|
# device.nick = "My Device"
|
||||||
|
# device.disabled = false
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
@@ -40,6 +41,7 @@ monitor.v4l2.rules = [
|
|||||||
# priority.driver = 100
|
# priority.driver = 100
|
||||||
# priority.session = 100
|
# priority.session = 100
|
||||||
# node.pause-on-idle = false
|
# node.pause-on-idle = false
|
||||||
|
# node.disabled = false
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
|
Reference in New Issue
Block a user