DOKK / manpages / debian 10 / allegro4-doc / deallocate_voice.3alleg4.en
deallocate_voice(3alleg4) Allegro manual deallocate_voice(3alleg4)

deallocate_voice - Frees a sound card voice. Allegro game programming library.

#include <allegro.h>

void deallocate_voice(int voice);

Frees a sound card voice, stopping it from playing and releasing whatever resources it is using.

allocate_voice(3alleg4), voice_stop(3alleg4)

version 4.4.2 Allegro