---
name: "get_mixer_channels"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/get_mixer_channels"
---

# get\_mixer\_channels(3alleg)

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
