al_detach_audio_stream
bool al_detach_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
Introduced in 5.0.0
Detach the stream from whatever it's attached to, if anything.
See also: al_attach_audio_stream_to_mixer, al_attach_audio_stream_to_voice, al_get_audio_stream_attached.
Most helpful discussions: