1AuBucketAttributes(3) Library Functions Manual AuBucketAttributes(3)
2
3
4
6 AuBucketAttributes - bucket attributes structure
7
9 #include <audio/audiolib.h>
10
11 typedef struct _AuBucketAttributes
12 {
13 . . .
14 }AuBucketAttributes;
15
17 Do not dereference the members of the AuBucketAttributes structure
18 directly. Instead use the access macros.
19
20 ba is a pointer to a AuBucketAttributes structure.
21
22 AuBucketValueMask(ba)
23 Accesses the AuMask value indicating which attributes are
24 present. This is a bitwise inclusive OR of these constants:
25 AuCompCommonIDMask, AuCompCommonKindMask, AuCompCommonUse‐
26 Mask, AuCompCommonFormatMask, AuCompCommonNumTracksMask,
27 AuCompCommonAccessMask, AuCompCommonDescriptionMask, AuComp‐
28 BucketSampleRateMask, and AuCompBucketNumSamplesMask.
29
30 AuBucketChangableMask(ba)
31 Accesses the AuMask value indicating which of the attributes
32 can be changed. This is a bitwise inclusive OR of these con‐
33 stants: AuCompCommonIDMask, AuCompCommonKindMask, AuCompCom‐
34 monUseMask, AuCompCommonFormatMask, AuCompCommonNumTracks‐
35 Mask, AuCompCommonAccessMask, AuCompCommonDescriptionMask,
36 AuCompBucketSampleRateMask, and AuCompBucketNumSamplesMask.
37
38 AuBucketIdentifier(ba)
39 Accesses the AuBucketID ID of the bucket.
40
41 AuBucketKind(ba)
42 Accesses the int value indicating the kind of component.
43 Buckets will always be AuComponentKindBucket.
44
45 AuBucketUse(ba)
46 Accesses the AuMask value indicating what uses of the bucket
47 are permitted. This is a bitwise inclusive OR of these con‐
48 stants: AuComponentUseImportMask and AuComponentUseExport‐
49 Mask.
50
51 AuBucketFormat(ba)
52 Accesses the int value indicating the audio data format the
53 bucket uses. Currently, the following formats are defined:
54 AuFormatULAW8, AuFormatLinearUnsigned8, AuFormatLinear‐
55 Signed8, AuFormatLinearSigned16MSB, AuFormatLinearUn‐
56 signed16MSB, AuFormatLinearSigned16LSB, and AuFormatLinearUn‐
57 signed16LSB.
58
59 AuBucketNumTracks(ba)
60 Accesses the int value indicating the number of tracks the
61 bucket supports.
62
63 AuBucketAccess(ba)
64 Accesses the AuMask value indicating what kinds of access the
65 bucket allows. This is a bitwise inclusive OR of these con‐
66 stants: AuAccessImportMask, AuAccessExportMask, AuAccessDe‐
67 stroyMask, and AuAccessListMask.
68
69 AuBucketDescription(ba)
70 Accesses the AuString structure containing a textual descrip‐
71 tion of the bucket.
72
73 AuBucketSampleRate(ba)
74 Accesses the unsigned int value indicating the sample rate of
75 the bucket.
76
77 AuBucketNumSamples(ba)
78 Accesses the AuUint32 value indicating the number of samples
79 the bucket contains.
80
82 The AuBucketAttributes structure describes the server-local storage of
83 audio data.
84
86 AuGetBucketAttributes, AuListBuckets.
87
88 audiolib - Network Audio System C Language Interface
89
90
91
92audiolib - bucket attributes 1.9.4 AuBucketAttributes(3)