stop_sample - Man Page
Stops a sample from playing. Allegro game programming library.
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().
version 4.4.3 Allegro manual