diff options
author | kotontrion <[email protected]> | 2024-07-16 15:13:00 +0200 |
---|---|---|
committer | kotontrion <[email protected]> | 2024-07-16 15:13:00 +0200 |
commit | bccb03463fc41f2e6c4305a5565d4158a0f797fe (patch) | |
tree | 8bba78c11f79ea8ff44d3b16467768ebc010b6e3 /include/wireplumber/endpoint.h |
initial commit
Diffstat (limited to 'include/wireplumber/endpoint.h')
-rw-r--r-- | include/wireplumber/endpoint.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 <glib-object.h> + +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 |