voice_get_position(3alleg4) | Allegro manual | voice_get_position(3alleg4) |
voice_get_position - Returns the current position of a voice. Allegro game programming library.
#include <allegro.h>
int voice_get_position(int voice);
Returns the current position of a voice, in sample units, or -1 if it has finished playing.
version 4.4.2 | Allegro |