al_set_default_mixer man page

al_set_default_mixer — Allegro 5 API

Synopsis

#include <allegro5/allegro_audio.h>

bool al_set_default_mixer(ALLEGRO_MIXER *mixer)

Description

Sets the default mixer. All samples started with al_play_sample(3) will be stopped. If you are using your own mixer, this should be called before al_reserve_samples(3).

Returns true on success, false on error.

See Also

al_reserve_samples(3), al_play_sample(3), al_get_default_mixer(3), al_restore_default_mixer(3)

Referenced By

al_get_default_mixer(3), al_reserve_samples(3), al_restore_default_mixer(3).

Allegro reference manual