mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 19:28:01 +02:00
monitors: improve notice messages about missing SPA plugins
This commit is contained in:
parent
99ee41c490
commit
4d33aff107
4 changed files with 8 additions and 5 deletions
|
|
@ -312,8 +312,8 @@ end
|
|||
function createMonitor ()
|
||||
local m = SpaDevice("api.alsa.enum.udev", config.properties)
|
||||
if m == nil then
|
||||
log:notice("PipeWire's SPA ALSA udev plugin(\"api.alsa.enum.udev\")"
|
||||
.. "missing or broken. Sound Cards cannot be enumerated")
|
||||
log:notice("PipeWire's ALSA SPA plugin is missing or broken. " ..
|
||||
"Sound cards will not be supported")
|
||||
return nil
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -379,7 +379,8 @@ function createMonitor()
|
|||
if monitor then
|
||||
monitor:connect("create-object", createDevice)
|
||||
else
|
||||
log:notice("PipeWire's BlueZ SPA missing or broken. Bluetooth not supported.")
|
||||
log:notice("PipeWire's BlueZ SPA plugin is missing or broken. " ..
|
||||
"Bluetooth devices will not be supported.")
|
||||
return nil
|
||||
end
|
||||
monitor:activate(Feature.SpaDevice.ENABLED)
|
||||
|
|
|
|||
|
|
@ -27,5 +27,6 @@ if monitor then
|
|||
monitor:connect ("create-object", createCamDevice)
|
||||
monitor:activate (Feature.SpaDevice.ENABLED)
|
||||
else
|
||||
log:notice ("PipeWire's libcamera SPA missing or broken. libcamera not supported.")
|
||||
log:notice ("PipeWire's libcamera SPA plugin is missing or broken. " ..
|
||||
"Some camera types may not be supported.")
|
||||
end
|
||||
|
|
|
|||
|
|
@ -27,5 +27,6 @@ if monitor then
|
|||
monitor:connect ("create-object", createCamDevice)
|
||||
monitor:activate (Feature.SpaDevice.ENABLED)
|
||||
else
|
||||
log:notice ("PipeWire's V4L SPA missing or broken. Video4Linux not supported.")
|
||||
log:notice ("PipeWire's V4L2 SPA plugin is missing or broken. " ..
|
||||
"Some camera types may not be supported.")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue