Top | ![]() |
![]() |
![]() |
![]() |
#define GST_GLOBAL_DEVICE_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_GLOBAL_DEVICE_MONITOR, GstGlobalDeviceMonitor))
#define GST_GLOBAL_DEVICE_MONITOR_CAST(obj) ((GstGlobalDeviceMonitor *)(obj))
#define GST_GLOBAL_DEVICE_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GLOBAL_DEVICE_MONITOR, GstGlobalDeviceMonitorClass))
#define GST_GLOBAL_DEVICE_MONITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_GLOBAL_DEVICE_MONITOR, GstGlobalDeviceMonitorClass))
#define GST_IS_GLOBAL_DEVICE_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_GLOBAL_DEVICE_MONITOR))
#define GST_IS_GLOBAL_DEVICE_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_GLOBAL_DEVICE_MONITOR))
#define GST_TYPE_GLOBAL_DEVICE_MONITOR (gst_global_device_monitor_get_type())
GstBus *
gst_global_device_monitor_get_bus (GstGlobalDeviceMonitor *monitor
);
Gets the GstBus of this GstGlobalDeviceMonitor
GstCaps *
gst_global_device_monitor_get_caps_filter
(GstGlobalDeviceMonitor *monitor
);
gchar *
gst_global_device_monitor_get_classes_filter
(GstGlobalDeviceMonitor *monitor
);
GList *
gst_global_device_monitor_get_devices (GstGlobalDeviceMonitor *monitor
);
Gets a list of devices from all of the relevant monitors. This may actually probe the hardware if the global monitor is not currently started.
void gst_global_device_monitor_set_caps_filter (GstGlobalDeviceMonitor *monitor
,GstCaps *caps
);
void gst_global_device_monitor_set_classes_filter (GstGlobalDeviceMonitor *monitor
,const gchar *classes
);
gboolean
gst_global_device_monitor_start (GstGlobalDeviceMonitor *monitor
);
Starts monitoring the devices, one this has succeeded, the “added” and “removed” signals will be emitted when the list of devices changes.
void
gst_global_device_monitor_stop (GstGlobalDeviceMonitor *monitor
);
Stops monitoring the devices.