ALLEGRO_AUDIO_EVENT_TYPE(3)

ALLEGRO_AUDIO_EVENT_TYPE3

Allegro 5 api

Usage

#include <allegro5/allegro_audio.h>
enum ALLEGRO_AUDIO_EVENT_TYPE

Overview

Events sent by al_get_audio_stream_event_source(3) or al_get_audio_recorder_event_source(3).

Allegro_event_audio_stream_fragment

Sent when a stream fragment is ready to be filled in. See al_get_audio_stream_fragment(3).

Allegro_event_audio_stream_finished

Sent when a stream is finished.

Allegro_event_audio_recorder_fragment

Sent after a user-specified number of samples have been recorded. Convert this to ALLEGRO_AUDIO_RECORDER_EVENT(3) via al_get_audio_recorder_event(3).

You must always check the values for the buffer and samples as they are not guaranteed to be exactly what was originally specified.

Since

5.1.1

[Unstable API]: The API may need a slight redesign.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.