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.

RELATED TO install_sound_input…

install_sound(3alleg4), start_sound_input(3alleg4), midi_recorder(3alleg4)