GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


       AuListDevices - list devices


       #include <audio/audiolib.h>

       AuDeviceAttributes    *AuListDevices(server,   valuemask,   attributes,
       ndevices, status)
           AuServer *server;
           AuMask valuemask;
           AuDeviceAttributes *attributes;
           int *ndevices; /* RETURN */
           AuStatus *status; /* RETURN */


       server    Specifies the connection to the audio server.

       valuemask Specifies  which  device  attributes  are  defined   in   the
                 attributes  argument.  This must be a bitwise inclusive OR of
                 zero  or  more  of   these   constants:   AuCompCommonIDMask,
                 AuCompCommonKindMask,                    AuCompCommonUseMask,
                 AuCommonFormatMask,                    AuCommonNumTracksMask,
                 AuCommonAccessMask,                  AuCommonDescriptionMask,
                 AuCompDeviceMinSampleRateMask, AuCompDeviceMaxSampleRateMask,
                 AuCompDeviceLocationMask,               AuCompDeviceGainMask,
                 AuCompDeviceLineModeMask,    AuCompDeviceChildrenMask,     or
                 AuCompDeviceMasks.   If valuemask is zero, the attributes are
                 ignored and are not referenced.

                 Specifies the structure from which the values  (as  specified
                 by the value mask) are to be taken.

       ndevices  Returns the number of devices in the returned list.

       status    If  non-NULL,  flush  the output buffer and return the status
                 from the server.


       AuListDevices returns a list of devices whose  attributes  match  those
       values in attributes specified by valuemask, or NULL, with ndevices set
       to 0, if there was an  error.   Use  AuFreeDeviceList  to  release  the
       memory in the list when its nolonger needed.



See Also


       audiolib - Network Audio System C Language Interface

  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to
Page load time: 0.092 seconds. Last modified: November 04 2018 12:49:43.