AuMakeElementMultiplyConstant (3)
Leading comments
$NCDId: @(#)AuMElMul.man,v 1.1 1994/09/27 00:32:31 greg Exp $ copyright 1994 Steven King portions are * Copyright 1993 Network Computing Devices, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name Network Computing...
Name
AuMakeElementMultiplyConstant - initialize a MultiplyConstant elementSynopsis
#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 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.
See Also
AuMakeElementAddConstant, AuMakeElementBundle, AuMakeElementExportBucket, AuMakeElementExportClient, AuMakeElementExportDevice, AuMakeElementExportMonitor, AuMakeElementImportBucket, AuMakeElementImportClient, AuMakeElementImportDevice, AuMakeElementImportWaveForm, AuMakeElementSum.audiolib - Network Audio System C Language Interface