logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AuMakeElementMultiplyConstant - initialize a MultiplyConstant element

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 AuFixedPointFromSum and AuFixedPointFromFraction.

Description

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.

Name

AuMakeElementMultiplyConstant - initialize a MultiplyConstant element

See Also

AuMakeElementAddConstant,   AuMakeElementBundle,   AuMakeElementExportBucket,  AuMakeElementExportClient,
       AuMakeElementExportDevice,             AuMakeElementExportMonitor,             AuMakeElementImportBucket,
       AuMakeElementImportClient, AuMakeElementImportDevice, AuMakeElementImportWaveForm, AuMakeElementSum.

       audiolib - NetworkAudioSystem C Language Interface

audiolib - element initialization                     1.9.4                     AuMakeElementMultiplyConstant(3)

Synopsis

       #include <audio/audiolib.h>

       AuMakeElementMultiplyConstant(element, input, constant)
           AuElement *element; /* RETURN */
           unsigned short input;
           AuFixedPointconstant;

See Also