al_destroy_voice(1) Allegro 5 API

SYNOPSIS


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

DESCRIPTION

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