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

AuBucketAttributes - bucket attributes structure

Description

       The AuBucketAttributes structure describes the server-local storage of audio data.

Members

       Do  not  dereference  the  members  of the AuBucketAttributes structure directly.  Instead use the access
       macros.

       ba is a pointer to a AuBucketAttributes structure.

       AuBucketValueMask(ba)
                 Accesses the AuMask value indicating which attributes are present.  This is a bitwise inclusive
                 OR  of  these   constants:   AuCompCommonIDMask,   AuCompCommonKindMask,   AuCompCommonUseMask,
                 AuCompCommonFormatMask,            AuCompCommonNumTracksMask,           AuCompCommonAccessMask,
                 AuCompCommonDescriptionMask, AuCompBucketSampleRateMask, and AuCompBucketNumSamplesMask.

       AuBucketChangableMask(ba)
                 Accesses the AuMask value indicating which of the attributes can be changed.  This is a bitwise
                 inclusive OR of these constants: AuCompCommonIDMask, AuCompCommonKindMask, AuCompCommonUseMask,
                 AuCompCommonFormatMask,           AuCompCommonNumTracksMask,            AuCompCommonAccessMask,
                 AuCompCommonDescriptionMask, AuCompBucketSampleRateMask, and AuCompBucketNumSamplesMask.

       AuBucketIdentifier(ba)
                 Accesses the AuBucketID ID of the bucket.

       AuBucketKind(ba)
                 Accesses   the   int   value  indicating  the  kind  of  component.   Buckets  will  always  be
                 AuComponentKindBucket.

       AuBucketUse(ba)
                 Accesses the AuMask value indicating what uses of the bucket are permitted.  This is a  bitwise
                 inclusive OR of these constants: AuComponentUseImportMask and AuComponentUseExportMask.

       AuBucketFormat(ba)
                 Accesses  the  int  value  indicating  the  audio  data format the bucket uses.  Currently, the
                 following formats are defined: AuFormatULAW8,  AuFormatLinearUnsigned8,  AuFormatLinearSigned8,
                 AuFormatLinearSigned16MSB,    AuFormatLinearUnsigned16MSB,    AuFormatLinearSigned16LSB,    and
                 AuFormatLinearUnsigned16LSB.

       AuBucketNumTracks(ba)
                 Accesses the int value indicating the number of tracks the bucket supports.

       AuBucketAccess(ba)
                 Accesses the AuMask value indicating what kinds of access the bucket allows.  This is a bitwise
                 inclusive OR of these constants: AuAccessImportMask,  AuAccessExportMask,  AuAccessDestroyMask,
                 and AuAccessListMask.

       AuBucketDescription(ba)
                 Accesses the AuString structure containing a textual description of the bucket.

       AuBucketSampleRate(ba)
                 Accesses the unsigned int value indicating the sample rate of the bucket.

       AuBucketNumSamples(ba)
                 Accesses the AuUint32 value indicating the number of samples the bucket contains.

Name

AuBucketAttributes - bucket attributes structure

See Also

AuGetBucketAttributes, AuListBuckets.

       audiolib - NetworkAudioSystem C Language Interface

audiolib - bucket attributes                          1.9.4                                AuBucketAttributes(3)

Structures

       #include <audio/audiolib.h>

       typedef struct _AuBucketAttributes
       {
           . . .
       }AuBucketAttributes;

See Also