logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AuListBuckets - list buckets

Arguments

server    Specifies the connection to the audio server.

       valuemask Specifies  which bucket attributes are defined in attributes.  This must be a bitwise inclusive
                 OR  of  zero  or   more   of   these   constants:   AuCompCommonIDMask,   AuCompCommonKindMask,
                 AuCompCommonUseMask,     AuCommonFormatMask,     AuCommonNumTracksMask,     AuCommonAccessMask,
                 AuCommonDescriptionMask,   AuCompBucketSampleRateMask,   or   AuCompBucketNumSamplesMask.    If
                 valuemask is zero, the attributes are ignored and are not referenced.

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

       nbuckets  Returns the number of buckets in the returned list.

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

Description

AuListBuckets  returns  a  list of buckets whose attributes match those values in attributes specified by
       valuemask, or NULL, with nbuckets set to 0, if there was an error.  Use  AuFreeBucketAttributes  to  free
       the list when its nolonger needed.

Errors

AuBadLength.

Name

AuListBuckets - list buckets

See Also

AuGetBucketAttributes.

       audiolib - NetworkAudioSystem C Language Interface

audiolib - bucket attributes                          1.9.4                                     AuListBuckets(3)

Synopsis

       #include <audio/audiolib.h>

       AuBucketAttributes *AuListBuckets(server, valuemask, attributes, nbuckets, status)
           AuServer *server;
           AuMaskvaluemask;
           AuBucketAttributes *attributes;
           int *nbuckets; /* RETURN */
           AuStatus *status; /* RETURN */

See Also