1AuMakeElementExportClient(3)Library Functions ManualAuMakeElementExportClient(3)
2
3
4

Name

6       AuMakeElementExportClient - initialize an ExportClient element
7

Synopsis

9       #include <audio/audiolib.h>
10
11       AuMakeElementExportClient(element,    input,    sample_rate,    format,
12       num_tracks, discard,  max_samples,  high_water_mark,  num_actions,  ac‐
13       tions)
14           AuElement *element; /* RETURN */
15           unsigned short input;
16           unsigned short sample_rate;
17           unsigned char format;
18           unsigned char num_tracks;
19           unsigned char discard;
20           AuUint32 max_samples;
21           AuUint32 high_water_mark;
22           int num_actions;
23           AuElementAction *actions;
24

Arguments

26       element   Returns the initialized element.
27
28       input     Specifies  the  index of the element to supply the audio data
29                 to this element.
30
31       sample_rate
32                 Specifies the sample rate of the audio data.
33
34       format    Specifies the format of the audio data.  Currently, the  fol‐
35                 lowing  formats are defined: AuFormatULAW8, AuFormatLinearUn‐
36                 signed8,  AuFormatLinearSigned8,   AuFormatLinearSigned16MSB,
37                 AuFormatLinearUnsigned16MSB,  AuFormatSignedLinear16LSB,  and
38                 AuFormatLinearUnsigned16LSB.
39
40       num_tracks
41                 Specifies the number of tracks in the audio data.
42
43       discard   Specifies if  the  flow  should  pause  initially.   Normally
44                 AuTrue.
45
46       max_samples
47                 Specifies the maximum number of samples to send to the client
48                 in a single write.  Ignored for "trivial" flows.
49
50       high_water_mark
51                 Specifies when to tell the client application to read the au‐
52                 dio  data  from  the  server.  When this number of samples is
53                 reached in the buffer, an ElementNotify event with  kind  set
54                 to  AuElementNotifyKindHighWater  will  be sent to the client
55                 application.
56
57       num_actions
58                 Specifies the number of actions in actions.
59
60       actions   Specifies the list of actions to associate with this element.
61                 Entries  in  this list can be initialized with AuMakeChangeS‐
62                 tateAction,  AuMakeSendNotifyAction,  and   AuMakeNoopAction.
63                 May be NULL.
64

Description

66       AuMakeElementExportClient sets the type member of element to AuElement‐
67       TypeExportClient and initializes the  exportclient  member  of  element
68       with the remaining arguments.
69
70       AuMakeElementExportClient is implemented as a macro.
71

See Also

73       AuElementNotifyEvent,   AuMakeElementAddConstant,  AuMakeElementBundle,
74       AuMakeElementExportBucket, AuMakeElementExportDevice,  AuMakeElementEx‐
75       portMonitor,  AuMakeElementImportBucket, AuMakeElementImportClient, Au‐
76       MakeElementImportDevice, AuMakeElementImportWaveForm, AuMakeElementMul‐
77       tiplyConstant, AuMakeElementSum.
78
79       audiolib - Network Audio System C Language Interface
80
81
82
83audiolib - element initialization    1.9.5        AuMakeElementExportClient(3)
Impressum