1ALLEGRO_SAMPLE(3) Library Functions Manual ALLEGRO_SAMPLE(3)
2
3
4
6 ALLEGRO_SAMPLE
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-
15 defined digital audio. It holds information pertaining to data length,
16 frequency, channel configuration, etc. You can have an ALLEGRO_SAMPLE
17 object playing multiple times simultaneously. The object holds a user-
18 specified PCM data buffer, of the format the object is created with.
19
21 ALLEGRO_SAMPLE_INSTANCE(3)
22
23
24
25Allegro reference manual ALLEGRO_SAMPLE(3)