GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GET_SOUND_INPUT_CAP_BITS (3)

NAME

get_sound_input_cap_bits - Checks which audio input sample formats are supported. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

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(3), get_sound_input_cap_parm(3), get_sound_input_cap_rate(3), get_sound_input_cap_stereo(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro GET_SOUND_INPUT_CAP_BITS (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.