Scroll to navigation

start_sound_input(3alleg4) Allegro manual start_sound_input(3alleg4)

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(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.3 Allegro