voice_get_volume man page

voice_get_volume — Returns the current volume of the voice. Allegro game programming library.

Synopsis

#include <allegro.h>

int voice_get_volume(int voice);

Description

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).

See Also

voice_set_volume(3)

Referenced By

voice_set_volume(3).

version 4.4.2 Allegro Allegro manual