mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
media-session: add conf file for v4l2 and bluez as well
This commit is contained in:
parent
4cba8fc7e9
commit
fac80e76d2
9 changed files with 292 additions and 116 deletions
|
|
@ -46,6 +46,7 @@ rules = [
|
|||
#node.nick = null
|
||||
#priority.driver = 100
|
||||
#priority.session = 100
|
||||
#node.pause-on-idle = true
|
||||
#resample.quality = 4
|
||||
#channelmix.normalize = false
|
||||
#channelmix.mix-lfe = false
|
||||
|
|
@ -56,4 +57,3 @@ rules = [
|
|||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
|||
48
src/daemon/media-session.d/bluez-monitor.conf
Normal file
48
src/daemon/media-session.d/bluez-monitor.conf
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# bluez-monitor config file
|
||||
properties = {
|
||||
}
|
||||
|
||||
rules = [
|
||||
# an array of matches/actions to evaluate
|
||||
{
|
||||
# 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 = ~bluez_card.*
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
# actions can update properties on the matched object.
|
||||
update-props = {
|
||||
#device.nick = "My Device"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
# matches all sinks
|
||||
node.name = ~bluez_input.*
|
||||
}
|
||||
{
|
||||
# matches all sources
|
||||
node.name = ~bluez_output.*
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
#node.nick = "My Node"
|
||||
#node.nick = null
|
||||
#priority.driver = 100
|
||||
#priority.session = 100
|
||||
#node.pause-on-idle = true
|
||||
#resample.quality = 4
|
||||
#channelmix.normalize = false
|
||||
#channelmix.mix-lfe = false
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
45
src/daemon/media-session.d/v4l2-monitor.conf
Normal file
45
src/daemon/media-session.d/v4l2-monitor.conf
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# v4l2-monitor config file
|
||||
properties = {
|
||||
}
|
||||
|
||||
rules = [
|
||||
# an array of matches/actions to evaluate
|
||||
{
|
||||
# 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 devices
|
||||
device.name = ~v4l2_device.*
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
# actions can update properties on the matched object.
|
||||
update-props = {
|
||||
#device.nick = "My Device"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
# matches all sinks
|
||||
node.name = ~api.v4l2.sink.*
|
||||
}
|
||||
{
|
||||
# matches all sources
|
||||
node.name = ~api.v4l2.source.*
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
#node.nick = "My Node"
|
||||
#node.nick = null
|
||||
#priority.driver = 100
|
||||
#priority.session = 100
|
||||
#node.pause-on-idle = true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue