Detects if the specified recording parameters are supported.


int get_sound_input_cap_parm(int rate, int bits, int stereo);
Checks whether the specified recording frequency, number of bits, and mono/stereo mode are supported (and how) by the current audio driver.
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 soundcard).
      -n = Sampling rate not supported, but rate 'n'
	   would work instead.

Related Discussions

The following threads each have code containing this keyword: Note: You can click on the numbers to jump directly to the posts that reference this page.

Related Projects

The following projects include source code containing this keyword: