al_get_channel_count - Man Page
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(3).
Info
Allegro reference manual