DOKK / manpages / debian 12 / allegro5-doc / ALLEGRO_VOICE.3alleg5.en
ALLEGRO_VOICE(3alleg5) ALLEGRO_VOICE(3alleg5)

ALLEGRO_VOICE - Allegro 5 API

#include <allegro5/allegro_audio.h>
typedef struct ALLEGRO_VOICE ALLEGRO_VOICE;
    

A voice represents an audio device on the system, which may be a real device, or an abstract device provided by the operating system. To play back audio, you would attach a mixer, sample instance or audio stream to a voice.

ALLEGRO_MIXER(3alleg5), ALLEGRO_SAMPLE(3alleg5), ALLEGRO_AUDIO_STREAM(3alleg5)

Allegro reference manual