get_mixer_channels man page

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.

Info

version 4.4.2 Allegro Allegro manual