al_init_acodec_addon - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro_acodec.h>

bool al_init_acodec_addon(void)

Description

This function registers all the known audio file type handlers for al_load_sample(3), al_save_sample(3), al_load_audio_stream(3), etc.

Depending on what libraries are available, the full set of recognised extensions is: .wav, .flac, .ogg, .opus, .it, .mod, .s3m, .xm, .voc.

Limitations:

Return true on success.

Referenced By

al_install_audio(3), al_load_audio_stream(3), al_load_audio_stream_f(3), al_load_sample(3), al_load_sample_f(3), al_save_sample(3), al_save_sample_f(3).

Allegro reference manual