AuMakeElementMultiplyConstant(3)AuMakeElementMultiplyConstant(3)Name
AuMakeElementMultiplyConstant - initialize a MultiplyCon
stant 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 constructed with AuFixed
PointFromSum and AuFixedPointFromFraction.
Description
AuMakeElementMultiplyConstant sets the type of element to
AuElementTypeMultiplyConstant and initializes the multi_
plyconstant member of element with the remaining argu
ments.
AuMakeElementMultiplyConstant is implemented as a macro.
See Also
AuMakeElementAddConstant, AuMakeElementBundle, AuMakeEle
mentExportBucket, AuMakeElementExportClient, AuMakeEle
mentExportDevice, AuMakeElementExportMonitor, AuMakeEle
mentImportBucket, AuMakeElementImportClient, AuMakeEle
mentImportDevice, AuMakeElementImportWaveForm, AuMakeEle
mentSum.
audiolib - Network Audio System C Language Interface
audiolib - element initializati1.2 1