al_attach_mixer_to_voice
bool al_attach_mixer_to_voice(ALLEGRO_MIXER *mixer, ALLEGRO_VOICE *voice)
Introduced in 5.0.0
Attaches a mixer to a voice. The same rules as al_attach_sample_instance_to_voice apply, with the exception of the depth requirement.
Returns true on success, false on failure.
Examples: ex_acodec, ex_acodec_multi, ex_mixer_chain, ex_mixer_pp, ex_stream_file
Most helpful discussions:
- Font loading crashing with Allegro 5.2
- Delay when playing a sound effect using "al_play_sample"
- Streaming Multiple Audio Files At Once
- [A5.0.10] - High CPU usage after al_attach_mixer_to_voice
- Possible inconsistency in the behavior of al_set_sample_instance_playing() ?
- Possible thread deadlock/hang in al_detach_voice() ?
- [A5] Repeating audio samples
- (A5) random crash on al_detach_voice()
- [Allegro 5] Multiple Audio Questions
- Looping MOD music
Other recent discussions: