al_stop_sample
void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id)
Introduced in 5.0.0
Stop the sample started by al_play_sample.
See also: al_stop_samples
Most helpful discussions:
- Audio seems overly complicated :(
- How to stop a sample in A5?
- Sample ID?
- [A5]ALLEGRO_SAMPLE_ID return id -1
- Allegro sample/stream
- Classes and Threads
- sound problems... again
- From A4 to A5: questions (console window, key presses,timers/sprite animation)
- how to use play_audio_stream?
- Problems with ALLEGRO_SAMPLE_ID*