DOKK / manpages / debian 10 / allegro4-doc / start_sound_input.3alleg4.en
start_sound_input(3alleg4) Allegro manual start_sound_input(3alleg4)

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

#include <allegro.h>

int start_sound_input(int rate, int bits, int stereo);

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

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

install_sound_input(3alleg4), read_sound_input(3alleg4), stop_sound_input(3alleg4), digi_recorder(3alleg4), set_sound_input_source(3alleg4), get_sound_input_cap_parm(3alleg4), get_sound_input_cap_bits(3alleg4), get_sound_input_cap_rate(3alleg4), get_sound_input_cap_stereo(3alleg4)

version 4.4.2 Allegro