install_sound_input(3alleg4) | Allegro manual | install_sound_input(3alleg4) |
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.
install_sound(3alleg4), start_sound_input(3alleg4), midi_recorder(3alleg4)
version 4.4.3 | Allegro |