1get_sound_input_cap_parm(3)     Allegro manual     get_sound_input_cap_parm(3)
2
3
4

NAME

6       get_sound_input_cap_parm  -  Detects if the specified recording parameā€
7       ters are supported. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int get_sound_input_cap_parm(int rate, int bits, int stereo);
14

DESCRIPTION

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

RETURN VALUE

20       The function returns one of the following possible values:
21
22          0  = It is impossible to record in this format.
23          1  = Recording is possible, but audio output
24               will be suspended.
25          2  = Recording is possible at the same time as
26               playing other sounds (full duplex sound card).
27          -n = Sampling rate not supported, but rate 'n'
28               would work instead.
29
30

SEE ALSO

32       start_sound_input(3),                      get_sound_input_cap_bits(3),
33       get_sound_input_cap_rate(3), get_sound_input_cap_stereo(3)
34
35
36
37Allegro                          version 4.4.3     get_sound_input_cap_parm(3)
Impressum