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:
- 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
- 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
Other recent discussions:
- 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
- Bitmap behind mappy map
- Font loading crashing with Allegro 5.2
- Dsound undefined reference error when compiling using 5.2.1 binaries
- Cannot load sample.
- Why would al_install_audio() suddenly stop working?