1AuMakeElementImportBucket(3)Library Functions ManualAuMakeElementImportBucket(3)
2
3
4
6 AuMakeElementImportBucket - initialize an ImportBucket element
7
9 #include <audio/audiolib.h>
10
11 AuMakeElementImportBucket(element, sample_rate, bucket, num_samples,
12 offset, num_actions, actions)
13 AuElement *element; /* RETURN */
14 unsigned short sample_rate;
15 AuBucketID bucket;
16 AuUint32 num_samples;
17 AuInt32 offset;
18 int num_actions;
19 AuElementAction *actions;
20
22 element Returns the initialized element.
23
24 sample_rate
25 Specifies the sample rate of the audio data.
26
27 bucket Specifies the ID of the bucket to read the audio data from.
28
29 num_samples
30 Specifies the number of samples to read from the bucket.
31 Ignored for "trivial" flows.
32
33 offset Specifies the offset into the bucket to begin reading at.
34
35 num_actions
36 Specifies the number of actions in actions.
37
38 actions Specifies the list of actions to associate with this element.
39 Entries in this list can be initialized with AuMakeChangeS‐
40 tateAction, AuMakeSendNotifyAction, and AuMakeNoopAction.
41 May be NULL.
42
44 AuMakeElementImportBucket sets the type member of element to AuElement‐
45 TypeImportBucket and initializes the importbucket member of element
46 with the remaining arguments.
47
48 AuMakeElementImportBucket is implemented as a macro.
49
51 AuMakeElementAddConstant, AuMakeElementBundle, AuMakeElementExport‐
52 Bucket, AuMakeElementExportClient, AuMakeElementExportDevice, AuMa‐
53 keElementExportMonitor, AuMakeElementImportClient, AuMakeElementImport‐
54 Device, AuMakeElementImportWaveForm, AuMakeElementMultiplyConstant,
55 AuMakeElementSum.
56
57 audiolib - Network Audio System C Language Interface
58
59
60
61audiolib - element initialization 1.9.2 AuMakeElementImportBucket(3)