---
name: "al_get_default_mixer"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_default_mixer"
---

# al\_get\_default\_mixer(3)

Allegro 5 API

## NAME

al\_get\_default\_mixer - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  ALLEGRO_MIXER *al_get_default_mixer(void)
  ```

## DESCRIPTION

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(3)](/al_play_sample/3.md).

## SEE ALSO

[al\_reserve\_samples(3)](/al_reserve_samples/3.md), [al\_play\_sample(3)](/al_play_sample/3.md), [al\_set\_default\_mixer(3)](/al_set_default_mixer/3.md), [al\_restore\_default\_mixer(3)](/al_restore_default_mixer/3.md)
