---
name: "install_sound_input"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/install_sound_input"
---

# install\_sound\_input(3alleg)

Initialises the sound recorder module. Allegro game programming library.

## NAME

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**(3alleg)](/install_sound/3alleg.md), [**start\_sound\_input**(3alleg)](/start_sound_input/3alleg.md), [**midi\_recorder**(3alleg)](/midi_recorder/3alleg.md)
