al_init_acodec_addon
bool al_init_acodec_addon(void)
Introduced in 5.0.0
This function registers all the known audio file type handlers for al_load_sample, al_save_sample, al_load_audio_stream, etc.
Depending on what libraries are available, the full set of recognised extensions is: .wav, .flac, .ogg, .it, .mod, .s3m, .xm.
Return true on success.
Examples: ex_acodec, ex_acodec_multi, ex_audio_props, ex_audio_simple, ex_haiku, ex_kcm_direct, ex_mixer_chain, ex_mixer_pp, ex_stream_file, ex_stream_seek
Most helpful discussions:
- Having Trouble with exit(1) - Stalling Program
- Finding zero crossings in a sample (to eliminate clicking)
- Difficulty compiling on Windows
- We must post bugs and squash them***
- Screen is cleared and a new one appears Allegro5 in C?
- Allegro GTK3 and Mac
- Game Crashing and I'm not sure why?
- Audio Stream: Seeking doesn't work
- Calling al_install_audio from a DLL?
- Creating executable files in Visual Studio
Other recent discussions:
- Problem in Allegro 5.2.4 Timer!
- What's the easiest way to distribute my Allegro 5 game to buddies?
- Depth bug (Allegro 5 + Opengl)
- Audio seems overly complicated :(
- Video Addon
- Error Message when program finishes
- Improving Performance on a Pi 3
- Haptic on Android - al_install_haptic() returns 0.
- This Place Just Doesn't Die
- Input response times for controllers