install_sound_input(3) Initialises the sound recorder module. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

int install_sound_input(int digi, int midi);

DESCRIPTION

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.

RETURN VALUE

This function returns zero on success, and any other value if the machine or driver doesn't support sound recording.