install_sound_input man page

install_sound_input — 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.

See Also

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

Referenced By

digi_recorder(3), install_sound(3), midi_recorder(3), remove_sound_input(3), start_sound_input(3).

version 4.4.2 Allegro Allegro manual