1AuMakeElementExportDevice(3)Library Functions ManualAuMakeElementExportDevice(3)
2
3
4
6 AuMakeElementExportDevice - initialize an ExportDevice element
7
9 #include <audio/audiolib.h>
10
11 AuMakeElementExportDevice(element, input, device, sample_rate, num_sam‐
12 ples, num_actions, actions)
13 AuElement *element; /* RETURN */
14 unsigned short input;
15 AuDeviceID device;
16 unsigned short sample_rate;
17 AuUint32 num_samples;
18 int num_actions;
19 AuElementAction *actions;
20
22 element Returns the initialized element.
23
24 input Specifies the index of the element to supply the audio data
25 to this element.
26
27 device Specifies the ID of the device to send the audio data to.
28
29 sample_rate
30 Specifies the sample_rate of the audio data.
31
32 num_samples
33 Specifies the number of samples to send to the device. Use
34 AuUnlimitedSamples to indicate an unlimited number of sam‐
35 ples.
36
37 num_actions
38 Specifies the number of actions in actions.
39
40 actions Specifies the list of actions to associate with this element.
41 Entries in this list can be initialized with AuMakeChangeS‐
42 tateAction, AuMakeSendNotifyAction, and AuMakeNoopAction.
43 May be NULL.
44
46 AuMakeElementExportDevice sets the type member of element to AuElement‐
47 TypeExportDevice and initializes the exportdevice member of element
48 with the remaining arguments.
49
50 AuMakeElementExportDevice is implemented as a macro.
51
53 AuMakeElementAddConstant, AuMakeElementBundle, AuMakeElementExport‐
54 Bucket, AuMakeElementExportClient, AuMakeElementExportMonitor, AuMa‐
55 keElementImportBucket, AuMakeElementImportClient, AuMakeElementImport‐
56 Device, AuMakeElementImportWaveForm, AuMakeElementMultiplyConstant,
57 AuMakeElementSum.
58
59 audiolib - Network Audio System C Language Interface
60
61
62
63audiolib - element initialization 1.9.4 AuMakeElementExportDevice(3)