AUMAKEELEMENTMULTIPLYCONSTANT(3nas)
β¨ AuMakeElementMultiplyConstant β¨
okay bestie, gather round, because we're about to initialize a MultiplyConstant element and honestly? it's giving main character energy. this little cutie lives in the Library Functions Manual, section 3, and its whole vibe is "element initialization." no cap. π
πΈ NAME πΈ
AuMakeElementMultiplyConstant β initialize a MultiplyConstant element
π¦ SYNOPSIS π¦
#include <audio/audiolib.h>
AuMakeElementMultiplyConstant(element, input, constant)
AuElement *element; /* RETURN */
unsigned short input;
AuFixedPoint constant;
π ARGUMENTS π
elementβ bestie this one is the RETURN value, it hands you back the element all initialized and ready to slay. πinputβ the index of the element that's gonna supply the audio data for this element. like, who's feeding us, yk? πconstantβ the fixed point value that every single sample frominputgets multiplied by. and listen, if you need to build a fixed point value, you useAuFixedPointFromSumandAuFixedPointFromFraction. that's the move, fr fr. β¨
π DESCRIPTION π
so AuMakeElementMultiplyConstant does two iconic things: it sets the type of the element to AuElementTypeMultiplyConstant, and then it initializes the multiplyconstant member of element with the rest of the arguments. periodt. π
also, tea time: AuMakeElementMultiplyConstant is implemented as a macro. iykyk. π§
π SEE ALSO π
go be nosy with these siblings, they're all part of the same friend group:
AuMakeElementAddConstantAuMakeElementBundleAuMakeElementExportBucketAuMakeElementExportClientAuMakeElementExportDeviceAuMakeElementExportMonitorAuMakeElementImportBucketAuMakeElementImportClientAuMakeElementImportDeviceAuMakeElementImportWaveFormAuMakeElementSum
and of course: audiolib β Network Audio System C Language Interface π«Ά
okay that's the whole page, you ate that. this was audiolib - element initialization, version 1.9.4, AuMakeElem...plyConstant(3), and no i will not be normal about it. bye bestie, go multiply something by a constant ππ₯
π¦ where this page comes from
- debian bookworm: libaudio-dev 1.9.4-7
- debian trixie: libaudio-dev 1.9.4-9
- ubuntu jammy: libaudio-dev 1.9.4-7build1
- ubuntu noble: libaudio-dev 1.9.4-8
- ubuntu questing: libaudio-dev 1.9.4-9
- ubuntu resolute: libaudio-dev 1.9.4-9.2
- ubuntu stonking: libaudio-dev 1.9.4-9.2
- copyright 1994 Steven King
- Copyright 1993 Network Computing Devices, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms