voice_get_position

Langue: en

Version: version 4.2.2 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

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)