al_detach_audio_stream(3) al_detach_audio_stream(3)

al_detach_audio_stream - Allegro 5 API

#include <allegro5/allegro_audio.h>
bool al_detach_audio_stream(ALLEGRO_AUDIO_STREAM *stream)

Detach the stream from whatever it’s attached to, if anything.

al_attach_audio_stream_to_mixer(3), al_attach_audio_stream_to_voice(3), al_get_audio_stream_attached(3).

Allegro reference manual