Commit 058c0719 authored by Ashok Sidipotu's avatar Ashok Sidipotu
Browse files

alsa-monitor: add check for nill monitor

parent f0e587ef
Pipeline #403666 passed with stages
in 1 minute and 19 seconds
......@@ -306,7 +306,14 @@ function prepareDevice(parent, id, type, factory, properties)
monitor = SpaDevice("api.alsa.enum.udev",
monitor:connect("create-object", prepareDevice)
if monitor then
monitor:connect("create-object", prepareDevice)
Log.message("PipeWire's SPA ALSA udev plugin(\"api.alsa.enum.udev\") missing or broken. Sound Cards Cannot be enumerated.")
return false
-- create the JACK device (for PipeWire to act as client to a JACK server)
if["alsa.jack-device"] then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment