voice_get_volume
Returns the current volume of the voice. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Returns the current volume of the voice. Allegro game programming library.
#include <allegro.h>
int voice_get_volume(int voice);
Returns the current volume of the voice, range 0-255. Otherwise it returns -1 if that cannot be determined (because it has finished or been preempted by a different sound).
voice_set_volume(3alleg4)