1al_create_sample_instance(3) al_create_sample_instance(3)
2
3
4
6 al_create_sample_instance - Allegro 5 API
7
9 #include <allegro5/allegro_audio.h>
10
11 ALLEGRO_SAMPLE_INSTANCE *al_create_sample_instance(ALLEGRO_SAMPLE *sample_data)
12
14 Creates a sample instance, using the supplied sample data. The in‐
15 stance must be attached to a mixer (or voice) in order to actually pro‐
16 duce output.
17
18 The argument may be NULL. You can then set the sample data later with
19 al_set_sample(3).
20
22 al_destroy_sample_instance(3)
23
24
25
26Allegro reference manual al_create_sample_instance(3)