al_destroy_sample_instance
void al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
Introduced in 5.0.0
Detaches the sample stream from anything it may be attached to and frees it (the sample data is not freed!).
Examples: ex_acodec, ex_acodec_multi, ex_audio_props, ex_kcm_direct, ex_mixer_chain
Most helpful discussions:
- Audio seems overly complicated :(
- Bitmap behind mappy map
- Successful but silent audio playback
- How to get raw sample frequencies
- [A5] troubles with Ogg
- SAMPLE_INSTANCE vs a beginner (me)
- Possible inconsistency in the behavior of al_set_sample_instance_playing() ?
- [A5] Repeating audio samples
- My game bugs out when in release mode?
- Help shooting left and right.
Other recent discussions:
- This f***ing enemy won't move!
- How to make my enemy disappear? (Killed)
- Stop my text on screen from scrolling?
- Variable 'arrow' is being used without being initialized! But it is...
- Help with scrolling platforms (without transformation, or maybe if you can help)
- Allegro 5 - Assertion failed
- A5 Daul screen
- Fullscreen Not Working (-1)
- How to remove magnetic effect in collision!
- debug crashes when entering a new phase