.\" Automatically generated by Pandoc 3.5 .\" .TH "al_get_voice_position" "3" "" "Allegro reference manual" .SH NAME al_get_voice_position \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] unsigned int al_get_voice_position(const ALLEGRO_VOICE *voice) .EE .SH DESCRIPTION When the voice has a non\-streaming object attached to it, e.g.\ a sample, returns the voice\[cq]s current sample position. Otherwise, returns zero. .SH SEE ALSO al_set_voice_position(3).