logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_set_default_mixer - Allegro 5 API

Description

       Sets  the default mixer.  All samples started with al_play_sample(3alleg5) will be stopped and all sample
       instances returned by al_lock_sample_id(3alleg5) will be invalidated.  If you are using your  own  mixer,
       this should be called before al_reserve_samples(3alleg5).

       Returns true on success, false on error.

Name

       al_set_default_mixer - Allegro 5 API

See Also

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

Allegro reference manual                                                           al_set_default_mixer(3alleg5)

Synopsis

              #include <allegro5/allegro_audio.h>

              bool al_set_default_mixer(ALLEGRO_MIXER *mixer)

See Also