voice_get_position man page

voice_get_position — Returns the current position of a voice. Allegro game programming library.

Synopsis

#include <allegro.h>

int voice_get_position(int voice);

Description

Returns the current position of a voice, in sample units, or -1 if it has finished playing.

See Also

voice_set_position(3)

Referenced By

voice_check(3), voice_set_position(3).

version 4.4.2 Allegro Allegro manual