DOKK / manpages / debian 10 / allegro5-doc / al_destroy_voice.3alleg5.en
al_destroy_voice(3alleg5) al_destroy_voice(3alleg5)

al_destroy_voice - Allegro 5 API

#include <allegro5/allegro_audio.h>
void al_destroy_voice(ALLEGRO_VOICE *voice)
    

Destroys the voice and deallocates it from the digital driver. Does nothing if the voice is NULL.

al_create_voice(3alleg5)

Allegro reference manual