Allegro 5 api
#include <allegro5/allegro_audio.h> bool al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM *stream, bool val)
Change whether the stream is playing.
Returns true on success, false on failure.
al_get_audio_stream_playing(3alleg5)