---
name: "al_get_sample_channels"
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_sample_channels/3alleg5"
---

# al\_get\_sample\_channels(3alleg5)

Allegro 5 API

## NAME

al\_get\_sample\_channels - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  ALLEGRO_CHANNEL_CONF al_get_sample_channels(const ALLEGRO_SAMPLE *spl)
  ```

## DESCRIPTION

Return the channel configuration of the sample.

## SEE ALSO

ALLEGRO\_CHANNEL\_CONF(3alleg5), al\_get\_sample\_depth(3alleg5), al\_get\_sample\_frequency(3alleg5), al\_get\_sample\_length(3alleg5), al\_get\_sample\_data(3alleg5)
