mpd/mixer.h File Reference

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)

Detailed Description

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.


Function Documentation

bool mpd_run_set_volume ( struct mpd_connection connection,
unsigned  volume 
)

Shortcut for mpd_send_set_volume() and mpd_response_finish().

Parameters:
connection the connection to MPD
volume the volume, an integer between 0 and 100
Returns:
true on success, false on error
bool mpd_send_set_volume ( struct mpd_connection connection,
unsigned  volume 
)

Sets the volume of all output devices.

Parameters:
connection the connection to MPD
volume the volume, an integer between 0 and 100
Returns:
true on success, false on error
Generated on Sun Aug 8 15:50:35 2010 for libmpdclient by  doxygen 1.6.3