|
libmpdclient
2.14
|
MPD client library. More...
Go to the source code of this file.
Functions | |
| bool | mpd_send_set_volume (struct mpd_connection *connection, unsigned volume) |
| bool | mpd_run_set_volume (struct mpd_connection *connection, unsigned volume) |
| bool | mpd_send_change_volume (struct mpd_connection *connection, int relative_volume) |
| bool | mpd_run_change_volume (struct mpd_connection *connection, int relative_volume) |
MPD client library.
Functions for manipulating MPD's mixer controls.
Do not include this header directly. Use mpd/client.h instead.
Definition in file mixer.h.
| bool mpd_send_set_volume | ( | struct mpd_connection * | connection, |
| unsigned | volume | ||
| ) |
Sets the volume of all output devices.
| connection | the connection to MPD |
| volume | the volume, an integer between 0 and 100 |
| bool mpd_run_set_volume | ( | struct mpd_connection * | connection, |
| unsigned | volume | ||
| ) |
Shortcut for mpd_send_set_volume() and mpd_response_finish().
| connection | the connection to MPD |
| volume | the volume, an integer between 0 and 100 |
| bool mpd_send_change_volume | ( | struct mpd_connection * | connection, |
| int | relative_volume | ||
| ) |
Changes the volume of all output devices.
| connection | the connection to MPD |
| relative_volume | the relative volume, an integer between -100 and 100 |
| bool mpd_run_change_volume | ( | struct mpd_connection * | connection, |
| int | relative_volume | ||
| ) |
Shortcut for mpd_send_change_volume() and mpd_response_finish().
| connection | the connection to MPD |
| relative_volume | the relative volume, an integer between -100 and 100 |
1.8.14