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: