---
name: "get_mixer_channels"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/get_mixer_channels/3alleg4"
---

# get\_mixer\_channels(3alleg4)

Returns the number of output channels. Allegro game programming library.

## NAME

get\_mixer\_channels - Returns the number of output channels. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int get\_mixer\_channels(void);**

## DESCRIPTION

Returns the number of output channels. 2 for stereo, 1 for mono, 0 if the mixer isn't active.

## SEE ALSO
