These functions are declared in the following header file. Link with allegro_acodec.

 #include <allegro5/allegro_acodec.h>


bool al_init_acodec_addon(void)

Source Code

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, .opus, .it, .mod, .s3m, .xm, .voc.


Return true on success.


uint32_t al_get_allegro_acodec_version(void)

Source Code

Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

Allegro version 5.2.2 - Last updated: 2016-12-13 05:25:46 UTC