.\" Generated by the Allegro makedoc utility .TH set_hardware_volume 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME set_hardware_volume \- Alters the hardware sound output volume. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void set_hardware_volume(int digi_volume, int midi_volume); .SH DESCRIPTION Alters the hardware sound output volume. Specify volumes for both digital samples and MIDI playback, as integers from 0 to 255, or pass a negative value to leave one of the settings unchanged. Values bigger than 255 will be reduced to 255. This routine will use the hardware mixer to control the volume if it exists (i.e. the volume of all the applications on your machine will be affected), otherwise do nothing. .SH SEE ALSO .BR install_sound (3alleg4), .BR set_volume (3alleg4)