From bccb03463fc41f2e6c4305a5565d4158a0f797fe Mon Sep 17 00:00:00 2001 From: kotontrion Date: Tue, 16 Jul 2024 15:13:00 +0200 Subject: initial commit --- include/wireplumber/endpoint.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/wireplumber/endpoint.h (limited to 'include/wireplumber/endpoint.h') diff --git a/include/wireplumber/endpoint.h b/include/wireplumber/endpoint.h new file mode 100644 index 0000000..354244e --- /dev/null +++ b/include/wireplumber/endpoint.h @@ -0,0 +1,18 @@ +#ifndef ASTAL_WP_ENDPOINT_H +#define ASTAL_WP_ENDPOINT_H + +#include + +G_BEGIN_DECLS + +#define ASTAL_WP_TYPE_ENDPOINT (astal_wp_endpoint_get_type()) + +G_DECLARE_FINAL_TYPE(AstalWpEndpoint, astal_wp_endpoint, ASTAL_WP, ENDPOINT, GObject) + +void astal_wp_endpoint_update_volume(AstalWpEndpoint *self); +void astal_wp_endpoint_set_volume(AstalWpEndpoint *self, gdouble volume); +void astal_wp_endpoint_set_mute(AstalWpEndpoint *self, gboolean mute); + +G_END_DECLS + +#endif // !ASTAL_WP_ENDPOINT_H -- cgit v1.2.3