al_get_voice_position(3)

al_get_voice_position3

Allegro 5 api

Usage

#include <allegro5/allegro_audio.h>
unsigned int al_get_voice_position(const ALLEGRO_VOICE *voice)

Overview

When the voice has a non-streaming object attached to it, e.g. a sample, returns the voice’s current sample position. Otherwise, returns zero.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.