al_get_default_mixer

ALLEGRO_MIXER *al_get_default_mixer(void)
Introduced in 5.0.0

Return the default mixer, or NULL if one has not been set. Although different configurations of mixers and voices can be used, in most cases a single mixer attached to a voice is what you want. The default mixer is used by al_play_sample.

See also: al_reserve_samples, al_play_sample, al_set_default_mixer, al_restore_default_mixer

Examples: ex_audio_props, ex_saw, ex_stream_seek, ex_synth


Most helpful discussions:

Other recent discussions: