al_set_sample_instance_playing
bool al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE *spl, bool val)
Introduced in 5.0.0
Change whether the sample instance is playing.
Returns true on success, false on failure.
Most helpful discussions:
- [A5] Checking if a sample is playing? (1)
- Audio seems overly complicated :(
- Audio addon: pause sample
- Allegro needs your help!
- SpeedHack 2014 is this weekend!
- Possible inconsistency in the behavior of al_set_sample_instance_playing() ?
- [Allegro 5][Mac OS X]invalid fullscreen drawable
- Allegro sample/stream