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 pre-de‐
15 fined digital audio. It holds a user-specified PCM data buffer and in‐
16 formation about its format (data length, depth, frequency, channel con‐
17 figuration). You can have the same ALLEGRO_SAMPLE playing multiple
18 times simultaneously.
19
21 ALLEGRO_SAMPLE_INSTANCE(3)
22
23
24
25Allegro reference manual ALLEGRO_SAMPLE(3)