al_play_sample_instance
bool al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
Introduced in 5.0.0
Play an instance of a sample data. Returns true on success, false on failure.
Examples: ex_acodec, ex_acodec_multi, ex_audio_props, ex_kcm_direct, ex_mixer_chain
Most helpful discussions:
- [A5] Repeating audio samples (1)
- Finding zero crossings in a sample (to eliminate clicking)
- Sound
- Audio seems overly complicated :(
- Bitmap behind mappy map
- Successful but silent audio playback
- [A5] troubles with Ogg
- Enemy AI Movement
- Passing objects via functions
- Blank Screen
Other recent discussions:
- Stopping a sound sample
- [A4/A5] Homemade Audio Primer
- Allegro needs your help!
- SAMPLE_INSTANCE vs a beginner (me)
- +20hours on just Camera
- SpeedHack 2014 is this weekend!
- How to puase a game for a few seconds
- I need help with my text drawing function
- Sample Instances and Mixers
- My game bugs out when in release mode?