---
name: "al_set_mixer_frequency"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_set_mixer_frequency/3alleg5"
---

# al\_set\_mixer\_frequency(3alleg5)

Allegro 5 API

## NAME

al\_set\_mixer\_frequency - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  bool al_set_mixer_frequency(ALLEGRO_MIXER *mixer, unsigned int val)
  ```

## DESCRIPTION

Set the mixer frequency (in Hz). This will only work if the mixer is not attached to anything.

Returns true on success, false on failure.

## SEE ALSO

al\_get\_mixer\_frequency(3alleg5)
