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:
- Bitmap behind mappy map
- Dsound undefined reference error when compiling using 5.2.1 binaries
- Audio Stream Mutex Issue
- 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
- [A4/A5] Homemade Audio Primer
Other recent discussions:
- Allegro Video (-1)
- Allegro needs your help!
- SAMPLE_INSTANCE vs a beginner (me)
- SpeedHack 2014 is this weekend!
- Can only load .ogg??
- Audio drift in Allegro 5.1.8
- allegro audio stream improvements
- Sample Instances and Mixers
- [A5] audio stream empty on completion of playback
- [A5]ALLEGRO_SAMPLE_ID return id -1