1al_destroy_sample(3)       Library Functions Manual       al_destroy_sample(3)
2
3
4

NAME

6       al_destroy_sample
7

SYNOPSIS

9              #include <allegro5/allegro_audio.h>
10
11              void al_destroy_sample(ALLEGRO_SAMPLE *spl)
12

DESCRIPTION

14       Free  the  sample  data structure.  If it was created with the free_buf
15       parameter set to true, then the buffer will be freed with al_free(3).
16
17       This function will stop any sample instances which may be  playing  the
18       buffer referenced by the ALLEGRO_SAMPLE(3).
19

SEE ALSO

21       al_destroy_sample_instance(3), al_stop_sample(3), al_stop_samples(3)
22
23
24
25Allegro reference manual                                  al_destroy_sample(3)
Impressum