---
name: "start_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/start_sound_input"
---

# start\_sound\_input(3alleg)

Starts recording in the specified format. Allegro game programming library.

## NAME

start\_sound\_input - Starts recording in the specified format. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int start\_sound\_input(int rate, int bits, int stereo);**

## DESCRIPTION

Starts recording in the specified format, suspending audio playback as  necessary if the card is not full duplex.

## RETURN VALUE

Returns the buffer size in bytes if successful, or zero on error.

## SEE ALSO

[**install\_sound\_input**(3alleg)](/install_sound_input/3alleg.md), [**read\_sound\_input**(3alleg)](/read_sound_input/3alleg.md), [**stop\_sound\_input**(3alleg)](/stop_sound_input/3alleg.md), [**digi\_recorder**(3alleg)](/digi_recorder/3alleg.md), [**set\_sound\_input\_source**(3alleg)](/set_sound_input_source/3alleg.md), [**get\_sound\_input\_cap\_parm**(3alleg)](/get_sound_input_cap_parm/3alleg.md), [**get\_sound\_input\_cap\_bits**(3alleg)](/get_sound_input_cap_bits/3alleg.md), [**get\_sound\_input\_cap\_rate**(3alleg)](/get_sound_input_cap_rate/3alleg.md), [**get\_sound\_input\_cap\_stereo**(3alleg)](/get_sound_input_cap_stereo/3alleg.md)
