+# Register well-known SPA factories
+# These do not need to exist on the system to be registered
+add-spa-lib audio.convert* audioconvert/libspa-audioconvert
+add-spa-lib api.alsa.* alsa/libspa-alsa
+add-spa-lib api.v4l2.* v4l2/libspa-v4l2
+add-spa-lib api.bluez5.* bluez5/libspa-bluez5
+
+# the client-device pipewire module is needed for libwireplumber-module-monitor
+load-pipewire-module libpipewire-module-client-device
+
# Basic pipewire integration - do not remove
load-module C libwireplumber-module-pipewire
"Communication", "Emergency"]>
}
+load-module C libwireplumber-module-monitor {
+ "factory": <"api.alsa.monitor">,
+ "flags": <["use-adapter"]>
+}
+
+load-module C libwireplumber-module-monitor {
+ "factory": <"api.bluez5.monitor">,
+ "flags": <["local-nodes", "use-adapter"]>
+}
+
# Monitors the ALSA devices that are discovered via udev
# and creates softdsp-endopints for each one of them
# The streams specified here are the ones that will be available for linking