1stop_sample(3) Allegro manual stop_sample(3)
2
3
4
6 stop_sample - Stops a sample from playing. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 void stop_sample(const SAMPLE *spl);
14
16 Stop a sample from playing, which is required if you have set a sample
17 going in looped mode. If there are several copies of the sample play‐
18 ing, it will stop them all. You must still destroy the sample using
19 destroy_sample().
20
21
23 play_sample(3), destroy_sample(3)
24
25
26
27Allegro version 4.2.2 stop_sample(3)