mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
conf: remove extra object level
We can parse this without the extra object level. Use 4 spaces per level
This commit is contained in:
parent
d3f314cf82
commit
d99ac615b2
3 changed files with 96 additions and 99 deletions
|
|
@ -1,58 +1,59 @@
|
||||||
# alsa-monitor config file
|
# alsa-monitor config file
|
||||||
{
|
properties = {
|
||||||
properties = {
|
|
||||||
}
|
|
||||||
|
|
||||||
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 = [
|
|
||||||
{
|
|
||||||
device.name = ~alsa_card.*
|
|
||||||
}
|
|
||||||
]
|
|
||||||
actions = {
|
|
||||||
# actions can update properties on the matched object.
|
|
||||||
|
|
||||||
update-props = {
|
|
||||||
api.alsa.use-acp = true
|
|
||||||
#api.alsa.use-ucm = true
|
|
||||||
#api.alsa.soft-mixer = false
|
|
||||||
#api.alsa.ignore-dB = false
|
|
||||||
#device.profile-set = "profileset-name"
|
|
||||||
#device.profile = "default profile name"
|
|
||||||
#api.acp.auto-port = true
|
|
||||||
#api.acp.auto-profile = true
|
|
||||||
#device.nick = "My Device"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
matches = [
|
|
||||||
{
|
|
||||||
node.name = ~alsa_input.*
|
|
||||||
}
|
|
||||||
{
|
|
||||||
node.name = ~alsa_output.*
|
|
||||||
}
|
|
||||||
]
|
|
||||||
actions = {
|
|
||||||
update-props = {
|
|
||||||
#node.nick = "My Node"
|
|
||||||
#node.nick = null
|
|
||||||
#priority.driver = 100
|
|
||||||
#priority.session = 100
|
|
||||||
#resample.quality = 4
|
|
||||||
#channelmix.normalize = false
|
|
||||||
#channelmix.mix-lfe = false
|
|
||||||
#audio.format = "S16LE"
|
|
||||||
#audio.rate = 44100
|
|
||||||
#audio.position = "FL,FR"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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 = ~alsa_card.*
|
||||||
|
}
|
||||||
|
]
|
||||||
|
actions = {
|
||||||
|
# actions can update properties on the matched object.
|
||||||
|
update-props = {
|
||||||
|
api.alsa.use-acp = true
|
||||||
|
#api.alsa.use-ucm = true
|
||||||
|
#api.alsa.soft-mixer = false
|
||||||
|
#api.alsa.ignore-dB = false
|
||||||
|
#device.profile-set = "profileset-name"
|
||||||
|
#device.profile = "default profile name"
|
||||||
|
#api.acp.auto-port = true
|
||||||
|
#api.acp.auto-profile = true
|
||||||
|
#device.nick = "My Device"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{
|
||||||
|
# matches all sinks
|
||||||
|
node.name = ~alsa_input.*
|
||||||
|
}
|
||||||
|
{
|
||||||
|
# matches all sources
|
||||||
|
node.name = ~alsa_output.*
|
||||||
|
}
|
||||||
|
]
|
||||||
|
actions = {
|
||||||
|
update-props = {
|
||||||
|
#node.nick = "My Node"
|
||||||
|
#node.nick = null
|
||||||
|
#priority.driver = 100
|
||||||
|
#priority.session = 100
|
||||||
|
#resample.quality = 4
|
||||||
|
#channelmix.normalize = false
|
||||||
|
#channelmix.mix-lfe = false
|
||||||
|
#audio.format = "S16LE"
|
||||||
|
#audio.rate = 44100
|
||||||
|
#audio.position = "FL,FR"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,60 +1,58 @@
|
||||||
# media-session config file
|
# media-session config file
|
||||||
{
|
properties = {
|
||||||
properties = {
|
|
||||||
# Properties to configure the session and some
|
# Properties to configure the session and some
|
||||||
# modules
|
# modules
|
||||||
|
|
||||||
#bluez5.msbc-support = true
|
#bluez5.msbc-support = true
|
||||||
}
|
}
|
||||||
|
|
||||||
spa-libs = {
|
spa-libs = {
|
||||||
# Mapping from factory name to library.
|
# Mapping from factory name to library.
|
||||||
|
|
||||||
api.bluez5.* = bluez5/libspa-bluez5
|
api.bluez5.* = bluez5/libspa-bluez5
|
||||||
api.alsa.* = alsa/libspa-alsa
|
api.alsa.* = alsa/libspa-alsa
|
||||||
api.v4l2.* = v4l2/libspa-v4l2
|
api.v4l2.* = v4l2/libspa-v4l2
|
||||||
api.libcamera.* = libcamera/libspa-libcamera
|
api.libcamera.* = libcamera/libspa-libcamera
|
||||||
}
|
}
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
# These are the modules that are enabled when a file with
|
# These are the modules that are enabled when a file with
|
||||||
# the key name is found in the media-session.d config directory.
|
# the key name is found in the media-session.d config directory.
|
||||||
# the default bundle is always enabled.
|
# the default bundle is always enabled.
|
||||||
|
|
||||||
default = [
|
default = [
|
||||||
flatpak # manages flatpak access
|
flatpak # manages flatpak access
|
||||||
portal # manage portal permissions
|
portal # manage portal permissions
|
||||||
v4l2 # video for linux udev detection
|
v4l2 # video for linux udev detection
|
||||||
#libcamera # libcamera udev detection
|
#libcamera # libcamera udev detection
|
||||||
suspend-node # suspend inactive nodes
|
suspend-node # suspend inactive nodes
|
||||||
policy-node # configure and link nodes
|
policy-node # configure and link nodes
|
||||||
#metadata # export metadata API
|
#metadata # export metadata API
|
||||||
#default-nodes # restore default nodes
|
#default-nodes # restore default nodes
|
||||||
#default-profile # restore default profiles
|
#default-profile # restore default profiles
|
||||||
#default-routes # restore default route
|
#default-routes # restore default route
|
||||||
#alsa-seq # alsa seq midi support
|
#alsa-seq # alsa seq midi support
|
||||||
#alsa-monitor # alsa udev detection
|
#alsa-monitor # alsa udev detection
|
||||||
#bluez5 # bluetooth support
|
#bluez5 # bluetooth support
|
||||||
#restore-stream # restore stream settings
|
#restore-stream # restore stream settings
|
||||||
]
|
]
|
||||||
with-audio = [
|
with-audio = [
|
||||||
metadata
|
metadata
|
||||||
default-nodes
|
default-nodes
|
||||||
default-profile
|
default-profile
|
||||||
default-routes
|
default-routes
|
||||||
alsa-seq
|
alsa-seq
|
||||||
alsa-monitor
|
alsa-monitor
|
||||||
]
|
]
|
||||||
with-alsa = [
|
with-alsa = [
|
||||||
with-audio
|
with-audio
|
||||||
]
|
]
|
||||||
with-jack = [
|
with-jack = [
|
||||||
with-audio
|
with-audio
|
||||||
]
|
]
|
||||||
with-pulseaudio = [
|
with-pulseaudio = [
|
||||||
with-audio
|
with-audio
|
||||||
bluez5
|
bluez5
|
||||||
restore-stream
|
restore-stream
|
||||||
]
|
]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
#daemon config file for PipeWire version @VERSION@
|
#daemon config file for PipeWire version @VERSION@
|
||||||
{
|
properties = {
|
||||||
properties = {
|
|
||||||
## configure properties in the system
|
## configure properties in the system
|
||||||
#library.name.system = support/libspa-support
|
#library.name.system = support/libspa-support
|
||||||
#context.data-loop.library.name.system = support/libspa-support
|
#context.data-loop.library.name.system = support/libspa-support
|
||||||
|
|
@ -18,9 +17,9 @@
|
||||||
#default.video.height = 480
|
#default.video.height = 480
|
||||||
#default.video.rate.num = 25
|
#default.video.rate.num = 25
|
||||||
#default.video.rate.denom = 1
|
#default.video.rate.denom = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
spa-libs = {
|
spa-libs = {
|
||||||
## <factory-name regex> = <library-name>
|
## <factory-name regex> = <library-name>
|
||||||
#
|
#
|
||||||
# used to find spa factory names. It maps an spa factory name
|
# used to find spa factory names. It maps an spa factory name
|
||||||
|
|
@ -37,9 +36,9 @@
|
||||||
support.* = support/libspa-support
|
support.* = support/libspa-support
|
||||||
#videotestsrc = videotestsrc/libspa-videotestsrc
|
#videotestsrc = videotestsrc/libspa-videotestsrc
|
||||||
#audiotestsrc = audiotestsrc/libspa-audiotestsrc
|
#audiotestsrc = audiotestsrc/libspa-audiotestsrc
|
||||||
}
|
}
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
## <module-name> = { [args = "<key>=<value> ..."]
|
## <module-name> = { [args = "<key>=<value> ..."]
|
||||||
# [flags = ifexists] }
|
# [flags = ifexists] }
|
||||||
#
|
#
|
||||||
|
|
@ -59,9 +58,9 @@
|
||||||
libpipewire-module-adapter = null
|
libpipewire-module-adapter = null
|
||||||
libpipewire-module-link-factory = null
|
libpipewire-module-link-factory = null
|
||||||
libpipewire-module-session-manager = null
|
libpipewire-module-session-manager = null
|
||||||
}
|
}
|
||||||
|
|
||||||
objects = {
|
objects = {
|
||||||
## <factory-name> = { [args = "<key>=<value> ..."]
|
## <factory-name> = { [args = "<key>=<value> ..."]
|
||||||
# [flags = nofail] }
|
# [flags = nofail] }
|
||||||
#
|
#
|
||||||
|
|
@ -75,9 +74,9 @@
|
||||||
#adapter = { args = "factory.name=audiotestsrc node.name=my-test" }
|
#adapter = { args = "factory.name=audiotestsrc node.name=my-test" }
|
||||||
#spa-node-factory = { args = "factory.name=api.vulkan.compute.source node.name=my-compute-source" }
|
#spa-node-factory = { args = "factory.name=api.vulkan.compute.source node.name=my-compute-source" }
|
||||||
spa-node-factory = { args = "factory.name=support.node.driver node.name=Dummy priority.driver=8000" }
|
spa-node-factory = { args = "factory.name=support.node.driver node.name=Dummy priority.driver=8000" }
|
||||||
}
|
}
|
||||||
|
|
||||||
exec = {
|
exec = {
|
||||||
## <program-name> = { [args = "<arguments>"] }
|
## <program-name> = { [args = "<arguments>"] }
|
||||||
#
|
#
|
||||||
# Execute the given program with arguments.
|
# Execute the given program with arguments.
|
||||||
|
|
@ -97,5 +96,4 @@
|
||||||
# on another address with the -a option (eg. -a tcp:4713)
|
# on another address with the -a option (eg. -a tcp:4713)
|
||||||
#
|
#
|
||||||
#"@pipewire_pulse_path@" = { "#args" = "-a tcp:4713" }
|
#"@pipewire_pulse_path@" = { "#args" = "-a tcp:4713" }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue