DOKK / manpages / debian 11 / allegro4-doc / voice_set_volume.3alleg4.en
voice_set_volume(3alleg4) Allegro manual voice_set_volume(3alleg4)

voice_set_volume - Sets the volume of the voice. Allegro game programming library.

#include <allegro.h>

void voice_set_volume(int voice, int volume);

Sets the volume of the voice, range 0-255.

voice_get_volume(3alleg4), voice_ramp_volume(3alleg4)

version 4.4.3 Allegro