AuMakeElementMultiplyConstant(3)AuMakeElementMultiplyConstant(3)NameAuMakeElementMultiplyConstant - initialize a MultiplyConstant element
Synopsis
#include <audio/audiolib.h>
AuMakeElementMultiplyConstant(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 that each sample from the
input will be multiplied by. Fixed point values can be con‐
structed with AuFixedPointFromSum and AuFixedPointFromFrac‐
tion.
DescriptionAuMakeElementMultiplyConstant sets the type of element to AuElement‐
TypeMultiplyConstant and initializes the multiplyconstant member of
element with the remaining arguments.
AuMakeElementMultiplyConstant is implemented as a macro.
See Also
AuMakeElementAddConstant, AuMakeElementBundle, AuMakeElementExport‐
Bucket, AuMakeElementExportClient, AuMakeElementExportDevice, AuMa‐
keElementExportMonitor, AuMakeElementImportBucket, AuMakeElementImport‐
Client, AuMakeElementImportDevice, AuMakeElementImportWaveForm, AuMa‐
keElementSum.
audiolib - Network Audio System C Language Interface
audiolib - element initialization 1.9.3 AuMakeElementMultiplyConstant(3)