1AuMakeElementAddConstant(3)Library Functions ManualAuMakeElementAddConstant(3)
2
3
4

Name

6       AuMakeElementAddConstant - initialize an AddConstant element
7

Synopsis

9       #include <audio/audiolib.h>
10
11       AuMakeElementAddConstant(element, input, constant)
12           AuElement *element; /* RETURN */
13           unsigned short input;
14           AuFixedPoint constant;
15

Arguments

17       element   Returns the initialized element.
18
19       input     Specifies  the  index of the element to supply the audio data
20                 for this element.
21
22       constant  Specifies the fixed point value to be added  to  each  sample
23                 from  input.   Fixed  point  values  can  be constructed with
24                 AuFixedPointFromSum and AuFixedPointFromFraction.
25

Description

27       AuMakeElementAddConstant sets the type member of element to  AuElement‐
28       TypeAddConstant  and initializes the addconstant member of element with
29       the remaining arguments.
30
31       AuMakeElementAddConstant is implemented as a macro.
32

See Also

34       AuMakeElementBundle,  AuMakeElementExportBucket,   AuMakeElementExport‐
35       Client,  AuMakeElementExportDevice,  AuMakeElementExportMonitor,  AuMa‐
36       keElementImportBucket, AuMakeElementImportClient,  AuMakeElementImport‐
37       Device,   AuMakeElementImportWaveForm,   AuMakeElementMultiplyConstant,
38       AuMakeElementSum.
39
40       audiolib - Network Audio System C Language Interface
41
42
43
44audiolib - element initialization    1.9.4         AuMakeElementAddConstant(3)
Impressum