Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

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
true on success, false on error

Definition at line 36 of file mixer.c.

References mpd_send_set_volume().

Referenced by mpd_run_set_volume(), and mpd_send_set_volume().

      return mpd_send_int_command(connection, "setvol", volume);

Generated by  Doxygen 1.6.0   Back to index