summaryrefslogtreecommitdiff
path: root/include/astal/wireplumber/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/astal/wireplumber/video.h')
-rw-r--r--include/astal/wireplumber/video.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/astal/wireplumber/video.h b/include/astal/wireplumber/video.h
new file mode 100644
index 0000000..8b17e31
--- /dev/null
+++ b/include/astal/wireplumber/video.h
@@ -0,0 +1,32 @@
+#ifndef ASTAL_WIREPLUMBER_VIDEO_H
+#define ASTAL_WIREPLUMBER_VIDEO_H
+
+#include <glib-object.h>
+
+#include "device.h"
+#include "endpoint.h"
+
+G_BEGIN_DECLS
+
+#define ASTAL_WP_TYPE_VIDEO (astal_wp_video_get_type())
+
+G_DECLARE_FINAL_TYPE(AstalWpVideo, astal_wp_video, ASTAL_WP, VIDEO, GObject)
+
+AstalWpEndpoint *astal_wp_video_get_source(AstalWpVideo *self, guint id);
+AstalWpEndpoint *astal_wp_video_get_sink(AstalWpVideo *self, guint id);
+AstalWpEndpoint *astal_wp_video_get_recorder(AstalWpVideo *self, guint id);
+AstalWpEndpoint *astal_wp_video_get_stream(AstalWpVideo *self, guint id);
+AstalWpDevice *astal_wp_video_get_device(AstalWpVideo *self, guint id);
+
+GList *astal_wp_video_get_sources(AstalWpVideo *self);
+GList *astal_wp_video_get_sinks(AstalWpVideo *self);
+GList *astal_wp_video_get_recorders(AstalWpVideo *self);
+GList *astal_wp_video_get_streams(AstalWpVideo *self);
+GList *astal_wp_video_get_devices(AstalWpVideo *self);
+
+AstalWpVideo *astal_wp_video_get_default();
+AstalWpVideo *astal_wp_get_default_video();
+
+G_END_DECLS
+
+#endif // !ASTAL_WIREPLUMBER_VIDEO_H