summaryrefslogtreecommitdiff
path: root/include/astal/wireplumber/video.h
blob: 8b17e31d09afa14ed185e701ae5b71a8a421956d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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