al_get_audio_stream_played_samples(3) al_get_audio_stream_played_samples(3)

al_get_audio_stream_played_samples - Allegro 5 API

#include <allegro5/allegro_audio.h>
uint64_t al_get_audio_stream_played_samples(const ALLEGRO_AUDIO_STREAM *stream)

Get the number of samples consumed by the parent since the audio stream was started.

5.1.8

Allegro reference manual