Device

Lists, selects, and queries sfxlib output devices.

Syntax
   Device List
   result = Device Select( device )
   Device Info [ device ]

Description
   Device List asks sfxlib to enumerate the output drivers compiled into 
   the runtime.  Device Select selects a device by index.  Device Info 
   prints diagnostic information for the current device or for the supplied 
   device index.

   Device availability is platform dependent.  The null output driver may 
   be selected for headless tests and diagnostics.

Example
   See examples/sfxlib/device-list.bas, examples/sfxlib/device-select.bas, 
   and examples/sfxlib/device-info.bas.

Differences from QB
   * New to FreeBASIC.

See also
   * Audio
   * Capture

