Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

get_sound_input_cap_bits(3alleg4) [linux man page]

get_sound_input_cap_bits(3alleg4)				  Allegro manual				 get_sound_input_cap_bits(3alleg4)

NAME
get_sound_input_cap_bits - Checks which audio input sample formats are supported. Allegro game programming library. SYNOPSIS
#include <allegro.h> int get_sound_input_cap_bits(); DESCRIPTION
Checks which sample formats are supported by the current audio input driver, returning one of the bitfield values: 0 = audio input not supported 8 = eight bit audio input is supported 16 = sixteen bit audio input is supported 24 = both eight and sixteen bit audio input are supported Example: cap = get_sound_input_cap_bits(); if (cap == 0) { /* Ugh, no audio input supported? */ } else { if (cap & 8) { /* We have eight bit audio input. */ } if (cap & 16) { /* We have sixteen bit audio input. */ } } SEE ALSO
start_sound_input(3alleg4), get_sound_input_cap_parm(3alleg4), get_sound_input_cap_rate(3alleg4), get_sound_input_cap_stereo(3alleg4) Allegro version 4.4.2 get_sound_input_cap_bits(3alleg4)

Check Out this Related Man Page

get_sound_input_cap_bits(3alleg4)				  Allegro manual				 get_sound_input_cap_bits(3alleg4)

NAME
get_sound_input_cap_bits - Checks which audio input sample formats are supported. Allegro game programming library. SYNOPSIS
#include <allegro.h> int get_sound_input_cap_bits(); DESCRIPTION
Checks which sample formats are supported by the current audio input driver, returning one of the bitfield values: 0 = audio input not supported 8 = eight bit audio input is supported 16 = sixteen bit audio input is supported 24 = both eight and sixteen bit audio input are supported Example: cap = get_sound_input_cap_bits(); if (cap == 0) { /* Ugh, no audio input supported? */ } else { if (cap & 8) { /* We have eight bit audio input. */ } if (cap & 16) { /* We have sixteen bit audio input. */ } } SEE ALSO
start_sound_input(3alleg4), get_sound_input_cap_parm(3alleg4), get_sound_input_cap_rate(3alleg4), get_sound_input_cap_stereo(3alleg4) Allegro version 4.4.2 get_sound_input_cap_bits(3alleg4)
Man Page

8 More Discussions You Might Find Interesting

1. HP-UX

RMB supported?

Hi, I would like to know if there are any particular sites I can go to in order to findout what programs are supported in UNix OS version 11i. PArticularly if Hp Basic is supported in this new Unix version 11i. Thank you very much. (1 Reply)
Discussion started by: huhuloa
1 Replies

2. UNIX for Dummies Questions & Answers

Noop ???

Hi all, Here is the statement ==== If InCallFlag = ‘Y' if (input:LanId != ‘') TempLanId = input:LanId if (input:Location != ‘') TempLocation = input:Location if (input:ANI != ‘') TempANI = input:ANI if (input:Extension != ‘') TempExtension = input:Extension if (input:CallLength != ‘')... (5 Replies)
Discussion started by: sabercats
5 Replies

3. UNIX for Advanced & Expert Users

how ..........networking

hi everyone this is dipendra, i am interested in networking,i know simple socket programming . and now i am wonder to get in to audio socket. i have no clue how to build audio socket.so i am looking if u can provide me a link regarding the audio socket building tutorials. (1 Reply)
Discussion started by: dipendra_regmi
1 Replies

4. Shell Programming and Scripting

PERL I/O question

Playing with an until loop as follows: my $input; until ($input eq "quit") { print "Please enter something:"; $input = <STDIN>; chomp $input; if ($input eq "dog") { print "cat" ; } else { print "Please re-enter"; } } Something simple like this... I want to prompt the user to... (3 Replies)
Discussion started by: yesokay
3 Replies

5. Shell Programming and Scripting

cut route

Hola, Tengo una cadena de una ruta y quiero cortar la ultima parte sin la extension Example /home/Desktop/example/audio.html Yo quiero solo "audio". Muchas gracias (4 Replies)
Discussion started by: uri_crack
4 Replies

6. UNIX for Dummies Questions & Answers

trying to install the audio software in my pc

Hi, my friend refer me here he was saying that they have the best solution and really good wisdom of the UNIX system , i am learning and trying to install the audio software in my pc , but it 's not working may be i am forgetting something. (2 Replies)
Discussion started by: maggilane
2 Replies

7. Shell Programming and Scripting

String generation from user input

Hi I have one thing I need advice on, and I don't know where to start so I have no sample code. I want the user to provide input like: 1-3,6,7,9-11 When the input is like this, I want a string to be generated including all the numbers. In the example above, the string would look like: 1... (13 Replies)
Discussion started by: Tobbev
13 Replies

8. Red Hat

How to replace Ip address in .xml file through shell script?

I have one .xml file. which contains the following line. <ParamString StringId="PortAddress" StringValue="172.27.166.170" /> <ParamString StringId="PortAddress" StringValue="172.27.166.171" /> <ParamString StringId="PortAddress" StringValue="172.27.166.202" /> <ParamString... (9 Replies)
Discussion started by: Anjan Ganguly
9 Replies