stop_sample
Stops a sample from playing. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Stops a sample from playing. Allegro game programming library.
#include <allegro.h>
void stop_sample(const SAMPLE *spl);
Stop a sample from playing, which is required if you have set a sample going in looped mode. If there are several copies of the sample playing, it will stop them all. You must still destroy the sample using destroy_sample().
play_sample(3alleg4), destroy_sample(3alleg4)