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:
- 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?
- Wrapping up code in functions
- Keyboard Interrupting on Mouse Positions?
- Segmentation fault al_map_rgb
- odd x errors on linux
- Successful but silent audio playback
Other recent discussions: