Allegro 5 api
#include <allegro5/allegro_audio.h> bool al_get_audio_stream_attached(const ALLEGRO_AUDIO_STREAM *stream)
Return whether the stream is attached to something.
al_attach_audio_stream_to_mixer(3alleg5), al_attach_audio_stream_to_voice(3alleg5), al_detach_audio_stream(3alleg5).