AuMakeElementAddConstant(3)AuMakeElementAddConstant(3)NameAuMakeElementAddConstant - initialize an AddConstant element
Synopsis
#include <audio/audiolib.h>
AuMakeElementAddConstant(element, input, constant)
AuElement *element; /* RETURN */
unsigned short input;
AuFixedPoint constant;
Arguments
element Returns the initialized element.
input Specifies the index of the element to supply the audio data
for this element.
constant Specifies the fixed point value to be added to each sample
from input. Fixed point values can be constructed with
AuFixedPointFromSum and AuFixedPointFromFraction.
DescriptionAuMakeElementAddConstant sets the type member of element to AuElement‐
TypeAddConstant and initializes the addconstant member of element with
the remaining arguments.
AuMakeElementAddConstant is implemented as a macro.
See Also
AuMakeElementBundle, AuMakeElementExportBucket, AuMakeElementExport‐
Client, AuMakeElementExportDevice, AuMakeElementExportMonitor, AuMa‐
keElementImportBucket, AuMakeElementImportClient, AuMakeElementImport‐
Device, AuMakeElementImportWaveForm, AuMakeElementMultiplyConstant,
AuMakeElementSum.
audiolib - Network Audio System C Language Interface
audiolib - element initialization 1.9.3 AuMakeElementAddConstant(3)