al_destroy_audio_stream(3) al_destroy_audio_stream(3)

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(3) or al_load_audio_stream(3).

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

al_drain_audio_stream(3).

Allegro reference manual