1ALLEGRO_AUDIO_EVENT_TYPE(3) ALLEGRO_AUDIO_EVENT_TYPE(3)
2
3
4
6 ALLEGRO_AUDIO_EVENT_TYPE - Allegro 5 API
7
9 #include <allegro5/allegro_audio.h>
10
11 enum ALLEGRO_AUDIO_EVENT_TYPE
12
14 ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT
15 Sent when a stream fragment is ready to be filled in. See al_get_au‐
16 dio_stream_fragment(3).
17
18 ALLEGRO_EVENT_AUDIO_STREAM_FINISHED
19 Sent when a stream is finished.
20
21 ALLEGRO_EVENT_AUDIO_RECORDER_FRAGMENT
22 Sent after a user-specified number of samples have been recorded. Con‐
23 vert this to ALLEGRO_AUDIO_RECORDER_EVENT(3) via al_get_au‐
24 dio_recorder_event(3).
25
26 You must always check the values for the buffer and samples as they are
27 not guaranteed to be exactly what was originally specified.
28
30 5.1.1
31
32 [Unstable API]: The API may need a slight redesign.
33
34
35
36Allegro reference manual ALLEGRO_AUDIO_EVENT_TYPE(3)