Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
get_sound_input_cap_parm(3)	Allegro	manual	   get_sound_input_cap_parm(3)

NAME
       get_sound_input_cap_parm	 -  Detects if the specified recording parame-
       ters are	supported. Allegro game	programming library.

SYNOPSIS
       #include	<allegro.h>

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

DESCRIPTION
       Checks whether the specified recording frequency, number	of  bits,  and
       mono/stereo mode	are supported (and how)	by the current audio driver.

RETURN VALUE
       The function returns one	of the following possible values:

	  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.

SEE ALSO
       start_sound_input(3),	 get_sound_input_cap_bits(3),	 get_sound_in-
       put_cap_rate(3),	get_sound_input_cap_stereo(3)

Allegro				 version 4.4.2	   get_sound_input_cap_parm(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=get_sound_input_cap_parm&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help