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:
- al_attach_mixer_to_voice failure
- Audio Stream: Seeking doesn't work
- Audio waveform with unexpected frequency behavior
- Calling al_install_audio from a DLL?
- Audio seems overly complicated :(
- 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() ?
Other recent discussions:
- 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
- [5.0.5] Crash when trying to play the second instance of sound.
- Creating Voice, Mixer and Sample Instance
- [A5] Problem with streaming sound
- Multiple audio stream causes static?
- [a5] Memory Management -Bitmaps part 2