install_sound_input − Initialises the sound recorder module. Allegro game programming library.
#include <allegro.h>
int install_sound_input(int digi, int midi);
Initialises the sound recorder module. You must install the normal sound playback system before calling this routine. The two card parameters should use the same constants as install_sound(), including DIGI_NONE and MIDI_NONE to disable parts of the module, or DIGI_AUTODETECT and MIDI_AUTODETECT to guess the hardware.
This function returns zero on success, and any other value if the machine or driver doesn’t support sound recording.