.\" Generated by the Allegro makedoc utility .TH get_sound_input_cap_parm 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME get_sound_input_cap_parm \- Detects if the specified recording parameters are supported. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int get_sound_input_cap_parm(int rate, int bits, int stereo); .SH DESCRIPTION Checks whether the specified recording frequency, number of bits, and mono/stereo mode are supported (and how) by the current audio driver. .SH "RETURN VALUE" The function returns one of the following possible values: .nf 0 = It is impossible to record in this format. 1 = Recording is possible, but audio output will be suspended. 2 = Recording is possible at the same time as playing other sounds (full duplex sound card). -n = Sampling rate not supported, but rate 'n' would work instead. .fi .SH SEE ALSO .BR start_sound_input (3alleg4), .BR get_sound_input_cap_bits (3alleg4), .BR get_sound_input_cap_rate (3alleg4), .BR get_sound_input_cap_stereo (3alleg4)