1ALLEGRO_SAMPLE(3) ALLEGRO_SAMPLE(3)
2
3
4
6 ALLEGRO_SAMPLE - Allegro 5 API
7
9 #include <allegro5/allegro_audio.h>
10
11 typedef struct ALLEGRO_SAMPLE ALLEGRO_SAMPLE;
12
14 An ALLEGRO_SAMPLE object stores the data necessary for playing
15 pre-defined digital audio. It holds a user-specified PCM data buffer
16 and information about its format (data length, depth, frequency, chan‐
17 nel configuration). You can have the same ALLEGRO_SAMPLE playing mul‐
18 tiple times simultaneously.
19
21 ALLEGRO_SAMPLE_INSTANCE(3)
22
23
24
25Allegro reference manual ALLEGRO_SAMPLE(3)