1voice_ramp_volume(3) Allegro manual voice_ramp_volume(3)
2
3
4
6 voice_ramp_volume - Starts a volume ramp for a voice. Allegro game pro‐
7 gramming library.
8
10 #include <allegro.h>
11
12
13 void voice_ramp_volume(int voice, int time, int endvol);
14
16 Starts a volume ramp (crescendo or diminuendo) from the current volume
17 to the specified ending volume, lasting for time milliseconds. The vol‐
18 ume is a value in the range 0-255.
19
20
22 voice_set_volume(3)
23
24
25
26Allegro version 4.2.2 voice_ramp_volume(3)