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

al_destroy_audio_stream - Allegro 5 API

#include <allegro5/allegro_audio.h>
void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    

Destroy an audio stream which was created with al_create_audio_stream(3alleg5) or al_load_audio_stream(3alleg5).

Note: If the stream is still attached to a mixer or voice, al_detach_audio_stream(3alleg5) is automatically called on it first.

al_drain_audio_stream(3alleg5).

Allegro reference manual