Commit bbca2ca2 authored by George Kiagiadakis's avatar George Kiagiadakis

monitor: update to reflect API changes in pipewire master

parent 2e0e144f
This diff is collapsed.
......@@ -24,7 +24,7 @@ typedef enum { /*< flags, prefix=WP_MONITOR_FLAG_ >*/
G_DECLARE_FINAL_TYPE (WpMonitor, wp_monitor, WP, MONITOR, GObject)
WpMonitor * wp_monitor_new (WpCore * core, const gchar * factory_name,
WpMonitorFlags flags);
WpProperties *props, WpMonitorFlags flags);
const gchar * wp_monitor_get_factory_name (WpMonitor *self);
WpMonitorFlags wp_monitor_get_flags (WpMonitor *self);
......
......@@ -9,7 +9,6 @@
#include <wp/wp.h>
#include <spa/monitor/monitor.h>
#include <pipewire/pipewire.h>
#include <spa/utils/keys.h>
......@@ -235,7 +234,7 @@ wireplumber__module_init (WpModule * module, WpCore * core, GVariant * args)
g_variant_iter_free (iter);
}
monitor = wp_monitor_new (core, factory, flags);
monitor = wp_monitor_new (core, factory, NULL, flags);
g_signal_connect (monitor, "setup-device-props",
(GCallback) setup_device_props, module);
......
......@@ -13,7 +13,6 @@
#include <spa/utils/keys.h>
#include <spa/utils/names.h>
#include <spa/monitor/monitor.h>
#include <pipewire/pipewire.h>
#include <wp/wp.h>
......
......@@ -13,7 +13,6 @@
#include <spa/utils/keys.h>
#include <spa/utils/names.h>
#include <spa/monitor/monitor.h>
#include <pipewire/pipewire.h>
#include <wp/wp.h>
......
......@@ -24,17 +24,17 @@ load-module C libwireplumber-module-mixer {
}
load-module C libwireplumber-module-monitor {
"factory": <"api.alsa.monitor">,
"factory": <"api.alsa.enum.udev">,
"flags": <["use-adapter"]>
}
load-module C libwireplumber-module-monitor {
"factory": <"api.bluez5.monitor">,
"factory": <"api.bluez5.enum.dbus">,
"flags": <["local-nodes", "use-adapter"]>
}
load-module C libwireplumber-module-monitor {
"factory": <"api.v4l2.monitor">
"factory": <"api.v4l2.enum.udev">
}
# Monitors the ALSA devices that are discovered via udev
......
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