Returns the number of output channels. allegro game programming library.
#include <allegro.h>
int get_mixer_channels(void);
Returns the number of output channels. 2 for stereo, 1 for mono, 0 if the mixer isn't active.