get_sound_input_cap_rate man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

get_sound_input_cap_rate(3)	Allegro manual	   get_sound_input_cap_rate(3)

NAME
       get_sound_input_cap_rate	 -  Returns  the  maximum sample frequency for
       recording. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       int get_sound_input_cap_rate(int bits, int stereo);

DESCRIPTION
       Returns the maximum possible sample  frequency  for  recording  in  the
       specified format, or zero if these settings are not supported. The bits
       parameter is the number of bits of the audio, and stereo is  a  boolean
       parameter. Pass zero for mono, non-zero for stereo input. Example:

	  int max_freq;
	  ...
	  /* What frequency can we record 8 bits mono at? */
	  max_freq = get_sound_input_cap_rate(8, 0);
	  if (max_freq > 22000) {
	     /* Ok, 22KHz and above is good enough. */
	  }

SEE ALSO
       start_sound_input(3),			  get_sound_input_cap_parm(3),
       get_sound_input_cap_bits(3), get_sound_input_cap_stereo(3)

Allegro				 version 4.4.2	   get_sound_input_cap_rate(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net