al_install_audio
bool al_install_audio(void)
Introduced in 5.0.0
Install the audio subsystem.
Returns true on success, false on failure.
Note: most users will call al_reserve_samples and al_init_acodec_addon after this.
See also: al_reserve_samples, al_uninstall_audio, al_is_audio_installed, al_init_acodec_addon
Examples: ex_acodec, ex_acodec_multi, ex_audio_props, ex_audio_simple, ex_haiku, ex_kcm_direct, ex_mixer_chain, ex_mixer_pp, ex_saw, ex_stream_file, ex_stream_seek, ex_synth
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?
- al_install_audio fails when started from quick launch bar
- Wrapping up code in functions
- Delay when playing a sound effect using "al_play_sample"
- Segmentation fault al_map_rgb
- odd x errors on linux
Other recent discussions:
- Successful but silent audio playback
- al_draw_soft_line
- How to get raw sample frequencies
- [A5] troubles with Ogg
- crash when calling "al_reserve_samples"
- Enemy AI Movement
- Passing objects via functions
- Blank Screen
- ALLEGRO_RESIZABLE & Mouse Pointer Collision Detection
- [OSX 10.9] Audio somehow freezes program a few seconds on exit