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:
- Having Trouble with exit(1) - Stalling Program
- Finding zero crossings in a sample (to eliminate clicking)
- Allegro Crashes With USB Audio Attached and Set as Default...
- Difficulty compiling on Windows
- We must post bugs and squash them***
- Screen is cleared and a new one appears Allegro5 in C?
- Allegro GTK3 and Mac
- Game Crashing and I'm not sure why?
- Audio Stream: Seeking doesn't work
- Audio waveform with unexpected frequency behavior
Other recent discussions:
- Calling al_install_audio from a DLL?
- Creating executable files in Visual Studio
- Problem in Allegro 5.2.4 Timer!
- What's the easiest way to distribute my Allegro 5 game to buddies?
- Depth bug (Allegro 5 + Opengl)
- Audio seems overly complicated :(
- Video Addon
- Error Message when program finishes
- video & physfs problems in the same file
- Improving Performance on a Pi 3