1ALLEGRO_AUDIO_RECORDER_EVENT(3) ALLEGRO_AUDIO_RECORDER_EVENT(3)
2
3
4
6 ALLEGRO_AUDIO_RECORDER_EVENT - Allegro 5 API
7
9 #include <allegro5/allegro_audio.h>
10
11 typedef struct ALLEGRO_AUDIO_RECORDER_EVENT ALLEGRO_AUDIO_RECORDER_EVENT;
12
14 Structure that holds the audio recorder event data. Every event type
15 will contain:
16
17 • .source: pointer to the audio recorder
18
19 The following will be available depending on the event type:
20
21 • .buffer: pointer to buffer containing the audio samples
22
23 • .samples: number of samples (not bytes) that are available
24
25 Since 5.1.1
26
28 al_get_audio_recorder_event(3)
29
30 [Unstable API]: The API may need a slight redesign.
31
32
33
34Allegro reference manual ALLEGRO_AUDIO_RECORDER_EVENT(3)