al_set_default_mixer
bool al_set_default_mixer(ALLEGRO_MIXER *mixer)
Introduced in 5.0.0
Sets the default mixer. All samples started with al_play_sample will be stopped. If you are using your own mixer, this should be called before al_reserve_samples.
Returns true on success, false on error.
See also: al_reserve_samples, al_play_sample, al_get_default_mixer, al_restore_default_mixer
Most helpful discussions:
- [A5] Repeating audio samples (1)
- Setting stream mixers
- Calling al_install_audio from a DLL?
- Delay when playing a sound effect using "al_play_sample"
- crash when calling "al_reserve_samples"
- SpeedHack 2014 is this weekend!
- [A5.0.10] - High CPU usage after al_attach_mixer_to_voice
- [a5] Memory Management -Bitmaps part 2
- [a5] audio freezes on closing