AuBucketAttributes3nas
Bucket attributes structure
Structures
#include <audio/audiolib.h>
typedef struct _AuBucketAttributes
{
. . .
}AuBucketAttributes;
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
AuMaskvalue indicating which attributes are present. This is a bitwise inclusive OR of these constants:AuCompCommonIDMask,AuCompCommonKindMask,AuCompCommonUseMask,AuCompCommonFormatMask,AuCompCommonNumTracksMask,AuCompCommonAccessMask,AuCompCommonDescriptionMask,AuCompBucketSampleRateMask, andAuCompBucketNumSamplesMask.
AuBucketChangableMask(ba)-
Accesses the
AuMaskvalue 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, andAuCompBucketNumSamplesMask.
AuBucketIdentifier(ba)-
Accesses the
AuBucketIDID of the bucket.
AuBucketKind(ba)-
Accesses the int value indicating the kind of component. Buckets will always be
AuComponentKindBucket.
AuBucketUse(ba)-
Accesses the
AuMaskvalue indicating what uses of the bucket are permitted. This is a bitwise inclusive OR of these constants:AuComponentUseImportMaskandAuComponentUseExportMask.
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, andAuFormatLinearUnsigned16LSB.
AuBucketNumTracks(ba)-
Accesses the int value indicating the number of tracks the bucket supports.
AuBucketAccess(ba)-
Accesses the
AuMaskvalue indicating what kinds of access the bucket allows. This is a bitwise inclusive OR of these constants:AuAccessImportMask,AuAccessExportMask,AuAccessDestroyMask, andAuAccessListMask.
AuBucketDescription(ba)-
Accesses the
AuStringstructure 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
AuUint32value indicating the number of samples the bucket contains.
Overview
The AuBucketAttributes structure describes the server-local storage of audio data.
Releases
14 releases since Debian 2.1 (Slink); the text changed 6 times.