start_sound_input (3) - Linux Manuals

start_sound_input: 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.