---
name: "al_get_channel_count"
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_get_channel_count/3alleg5"
---

# al\_get\_channel\_count(3alleg5)

Allegro 5 API

## NAME

al\_get\_channel\_count - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  size_t al_get_channel_count(ALLEGRO_CHANNEL_CONF conf)
  ```

## DESCRIPTION

Return the number of channels for the given channel configuration, which is one of the values listed under ALLEGRO\_CHANNEL\_CONF(3alleg5).
