---
name: "install_sound_input"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/install_sound_input/3alleg4"
---

# install\_sound\_input(3alleg4)

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**(3alleg4), **start\_sound\_input**(3alleg4), **midi\_recorder**(3alleg4)
