libmpdclient  2.22
mixer.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: BSD-2-Clause
2 // Copyright The Music Player Daemon Project
3 
12 #ifndef MPD_MIXER_H
13 #define MPD_MIXER_H
14 
15 #include <stdbool.h>
16 
17 struct mpd_connection;
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
30 bool
31 mpd_send_set_volume(struct mpd_connection *connection, unsigned volume);
32 
40 bool
41 mpd_run_set_volume(struct mpd_connection *connection, unsigned volume);
42 
52 bool
53 mpd_send_change_volume(struct mpd_connection *connection, int relative_volume);
54 
64 bool
65 mpd_run_change_volume(struct mpd_connection *connection, int relative_volume);
66 
76 bool
77 mpd_send_get_volume(struct mpd_connection *connection);
78 
88 int
89 mpd_run_get_volume(struct mpd_connection *connection);
90 
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 #endif
bool mpd_run_change_volume(struct mpd_connection *connection, int relative_volume)
bool mpd_send_set_volume(struct mpd_connection *connection, unsigned volume)
bool mpd_send_get_volume(struct mpd_connection *connection)
bool mpd_send_change_volume(struct mpd_connection *connection, int relative_volume)
bool mpd_run_set_volume(struct mpd_connection *connection, unsigned volume)
int mpd_run_get_volume(struct mpd_connection *connection)