diff options
author | kotontrion <[email protected]> | 2024-07-22 14:29:40 +0200 |
---|---|---|
committer | kotontrion <[email protected]> | 2024-07-22 14:29:40 +0200 |
commit | 4a7ecd70a476f48901391e2011490c21a1bd41a2 (patch) | |
tree | c9a996e9a492d1eb839232942287ab571ba29347 /include/astal/wireplumber/device.h | |
parent | d5596c421da581479382394a6ead9bb422779564 (diff) |
add video device support
Diffstat (limited to 'include/astal/wireplumber/device.h')
-rw-r--r-- | include/astal/wireplumber/device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/astal/wireplumber/device.h b/include/astal/wireplumber/device.h index 6e5f6d4..9f633e3 100644 --- a/include/astal/wireplumber/device.h +++ b/include/astal/wireplumber/device.h @@ -11,6 +11,10 @@ G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(AstalWpDevice, astal_wp_device, ASTAL_WP, DEVICE, GObject) +#define ASTAL_WP_TYPE_DEVICE_TYPE (astal_wp_device_type_get_type()) + +typedef enum { ASTAL_WP_DEVICE_TYPE_AUDIO, ASTAL_WP_DEVICE_TYPE_VIDEO } AstalWpDeviceType; + guint astal_wp_device_get_id(AstalWpDevice *self); const gchar *astal_wp_device_get_description(AstalWpDevice *self); const gchar *astal_wp_device_get_icon(AstalWpDevice *self); @@ -18,6 +22,7 @@ AstalWpProfile *astal_wp_device_get_profile(AstalWpDevice *self, gint id); GList *astal_wp_device_get_profiles(AstalWpDevice *self); void astal_wp_device_set_active_profile(AstalWpDevice *self, int profile_id); gint astal_wp_device_get_active_profile(AstalWpDevice *self); +AstalWpDeviceType astal_wp_device_get_device_type(AstalWpDevice *self); G_END_DECLS |