1al_get_voice_position(3) al_get_voice_position(3)
23
4
NAME
6al_get_voice_position - Allegro 5 API
7
SYNOPSIS
9#include <allegro5/allegro_audio.h>
1011
unsigned int al_get_voice_position(const ALLEGRO_VOICE *voice)
12
DESCRIPTION
14When the voice has a non-streaming object attached to it, e.g. a sam‐
15ple, returns the voice’s current sample position. Otherwise, returns
16zero.
17
SEE ALSO
19al_set_voice_position(3).
2021
22
23
Allegro reference manual al_get_voice_position(3)