1AuMakeElementImportDevice(3)Library Functions ManualAuMakeElementImportDevice(3)
2
3
4
6 AuMakeElementImportDevice - initialize an ImportDevice element
7
9 #include <audio/audiolib.h>
10
11 AuMakeElementImportDevice(element, sample_rate, device, num_samples,
12 num_actions, actions)
13 AuElement *element; /* RETURN */
14 unsigned short sample_rate;
15 AuDeviceID device;
16 AuUint32 num_samples;
17 int num_actions;
18 AuElementAction *actions;
19
21 element Returns the initialized element.
22
23 sample_rate
24 Specifies the sample rate of the audio data.
25
26 device Specifies the ID of the device to read the audio data from.
27
28 num_samples
29 Specifies the number of samples to read from the device. Use
30 AuUnlimitedSamples to indicate an unlimited number of sam‐
31 ples.
32
33 num_actions
34 Specifies the number of actions in actions.
35
36 actions Specifies the list of actions to associate with this element.
37 Entries in this list can be initialized with AuMakeChangeS‐
38 tateAction, AuMakeSendNotifyAction, and AuMakeNoopAction.
39 May be NULL.
40
42 AuMakeElementImportDevice sets the type member of element to AuElement‐
43 TypeImportDevice and initializes the importdevice member of element
44 with the remaining arguments.
45
46 AuMakeElementImportDevice is implemented as a macro.
47
49 AuMakeElementAddConstant, AuMakeElementBundle, AuMakeElementExport‐
50 Bucket, AuMakeElementExportClient, AuMakeElementExportDevice, AuMa‐
51 keElementExportMonitor, AuMakeElementImportBucket, AuMakeElementImport‐
52 Client, AuMakeElementImportWaveForm, AuMakeElementMultiplyConstant,
53 AuMakeElementSum.
54
55 audiolib - Network Audio System C Language Interface
56
57
58
59audiolib - element initialization 1.9.2 AuMakeElementImportDevice(3)