get_sound_input_cap_bits(3alleg4) debian man page | unix.com

Man Page: get_sound_input_cap_bits

Operating Environment: debian

Section: 3alleg4

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)
Related Man Pages
exstream(3alleg4) - suse
start_sound_input(3alleg4) - centos
exstream(3alleg4) - mojave
start_sound_input(3alleg4) - linux
get_sound_input_cap_parm(3alleg4) - linux
Similar Topics in the Unix Linux Community
RMB supported?
FreeMachines 0.0.23 (Default branch)
Three utilities for automatically converting audio for portable music players
cut route
String generation from user input