DOKK / manpages / debian 10 / allegro4-doc / voice_ramp_volume.3alleg4.en
voice_ramp_volume(3alleg4) Allegro manual voice_ramp_volume(3alleg4)

voice_ramp_volume - Starts a volume ramp for a voice. Allegro game programming library.

#include <allegro.h>

void voice_ramp_volume(int voice, int time, int endvol);

Starts a volume ramp (crescendo or diminuendo) from the current volume to the specified ending volume, lasting for time milliseconds. The volume is a value in the range 0-255.

voice_set_volume(3alleg4)

version 4.4.2 Allegro