.\" Generated by the Allegro makedoc utility .TH get_sound_input_cap_bits 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME get_sound_input_cap_bits \- Checks which audio input sample formats are supported. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int get_sound_input_cap_bits(); .SH DESCRIPTION Checks which sample formats are supported by the current audio input driver, returning one of the bitfield values: .nf 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 .fi Example: .nf 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. */ } } .fi .SH SEE ALSO .BR start_sound_input (3alleg4), .BR get_sound_input_cap_parm (3alleg4), .BR get_sound_input_cap_rate (3alleg4), .BR get_sound_input_cap_stereo (3alleg4)