DOKK / manpages / debian 11 / allegro5-doc / al_install_audio.3alleg5.en
al_install_audio(3alleg5) al_install_audio(3alleg5)

al_install_audio - Allegro 5 API

#include <allegro5/allegro_audio.h>
bool al_install_audio(void)
    

Install the audio subsystem.

Returns true on success, false on failure.

Note: most users will call al_reserve_samples(3alleg5) and al_init_acodec_addon(3alleg5) after this.

al_reserve_samples(3alleg5), al_uninstall_audio(3alleg5), al_is_audio_installed(3alleg5), al_init_acodec_addon(3alleg5)

Allegro reference manual