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:
- Finding zero crossings in a sample (to eliminate clicking)
- Allegro Crashes With USB Audio Attached and Set as Default...
- Difficulty compiling on Windows
- Screen is cleared and a new one appears Allegro5 in C?
- Sound
- Error Message when program finishes
- video & physfs problems in the same file
- play video in loop
- This Place Just Doesn't Die
- al_uninstall_audio - what exactly happens?
Other recent discussions:
- Bitmap behind mappy map
- Dsound undefined reference error when compiling using 5.2.1 binaries
- Audio Stream Mutex Issue
- Allegro Video (-1)
- Audio addon: pause sample
- How to get raw sample frequencies
- [A5] troubles with Ogg
- Random deadlocks playing WAV sounds (Windows, MSVC)
- Passing objects via functions
- Blank Screen