config: drop some unused settings and replace others with component features

This commit is contained in:
George Kiagiadakis
2023-11-13 13:05:45 +02:00
parent b1f891e149
commit d30fcf34a4
4 changed files with 12 additions and 21 deletions

View File

@@ -225,12 +225,22 @@ wireplumber.components = [
requires = [ support.lua-scripting ] requires = [ support.lua-scripting ]
} }
## Device monitors' optional features
{
type = virtual, provides = monitor.alsa.reserve-device,
requires = [ support.reserve-device ]
}
{
type = virtual, provides = monitor.alsa-midi.monitoring,
requires = [ api.file-monitor ]
}
## Device monitors ## Device monitors
{ {
name = monitors/alsa.lua, type = script/lua name = monitors/alsa.lua, type = script/lua
provides = monitor.alsa provides = monitor.alsa
requires = [ support.lua-scripting, support.export-core ] requires = [ support.lua-scripting, support.export-core ]
wants = [ support.reserve-device ] wants = [ monitor.alsa.reserve-device ]
} }
{ {
name = monitors/bluez.lua, type = script/lua name = monitors/bluez.lua, type = script/lua
@@ -248,7 +258,7 @@ wireplumber.components = [
name = monitors/alsa-midi.lua, type = script/lua name = monitors/alsa-midi.lua, type = script/lua
provides = monitor.alsa-midi provides = monitor.alsa-midi
requires = [ support.lua-scripting ] requires = [ support.lua-scripting ]
wants = [ api.file-monitor ] wants = [ monitor.alsa-midi.monitoring ]
} }
## v4l2 monitor hooks ## v4l2 monitor hooks
{ {

View File

@@ -1,10 +1,5 @@
## The WirePlumber access configuration ## The WirePlumber access configuration
wireplumber.settings = {
## Enables flatpak portal
# access-enable-flatpak-portal = true
}
access.rules = [ access.rules = [
# The list of access rules # The list of access rules

View File

@@ -1,15 +1,6 @@
## The WirePlumber ALSA configuration ## The WirePlumber ALSA configuration
wireplumber.settings = { wireplumber.settings = {
## Enables MIDI functionality
# monitor.alsa.midi = true
## Enables monitoring of alsa MIDI devices
# monitor.alsa.midi.monitoring = true
## Enables device reservation via org.freedesktop.ReserveDevice1 on D-Bus
# monitor.alsa.reserve = true
## The priority for device reservation ## The priority for device reservation
# monitor.alsa.reserve-priority = -20 # monitor.alsa.reserve-priority = -20

View File

@@ -1,10 +1,5 @@
## The WirePlumber libcamera configuration ## The WirePlumber libcamera configuration
wireplumber.settings = {
## Enables libcamera monitor
# monitor.libcamera.enable = true
}
monitor.libcamera.properties = { monitor.libcamera.properties = {
## The properties used when constructing the 'api.libcamera.enum.manager' plugin ## The properties used when constructing the 'api.libcamera.enum.manager' plugin
} }