al_get_audio_stream_event_source(3) al_get_audio_stream_event_source(3)

al_get_audio_stream_event_source - Allegro 5 API

#include <allegro5/allegro_audio.h>
ALLEGRO_EVENT_SOURCE *al_get_audio_stream_event_source(
   ALLEGRO_AUDIO_STREAM *stream)

Retrieve the associated event source.

See al_get_audio_stream_fragment(3) for a description of the ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT(3) event that audio streams emit.

Allegro reference manual