summaryrefslogtreecommitdiff
path: root/include/wireplumber/endpoint.h
blob: 354244e68758b5b2e49a9e22be0a665f9908d27f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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