AuMakeElementMultiplyConstant3nas
Initialize a multiplyconstant element
Usage
#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
AuFixedPointFromSumandAuFixedPointFromFraction.
Overview
AuMakeElementMultiplyConstant sets the type of element to AuElementTypeMultiplyConstant and initializes the multiplyconstant member of element with the remaining arguments.
AuMakeElementMultiplyConstant is implemented as a macro.
Releases
14 releases since Debian 2.1 (Slink); the text changed 6 times.