.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_set_default_mixer" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_set_default_mixer - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_set_default_mixer(ALLEGRO_MIXER *mixer) \f[R] .fi .SH DESCRIPTION .PP 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). .PP Returns true on success, false on error. .SH SEE ALSO .PP al_reserve_samples(3alleg5), al_play_sample(3alleg5), al_get_default_mixer(3alleg5), al_restore_default_mixer(3alleg5)