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

release_voice - Releases a sound card voice. Allegro game programming library.

#include <allegro.h>

void release_voice(int voice);

Releases a sound card voice, indicating that you are no longer interested in manipulating it. The sound will continue to play, and any resources that it is using will automatically be freed when it finishes. This is essentially the same as deallocate_voice(), but it waits for the sound to stop playing before taking effect.

allocate_voice(3alleg4), deallocate_voice(3alleg4)

version 4.4.2 Allegro