AuFixedPointRoundDown(3)
β¨ AuFixedPointRoundDown β¨
okay bestie, welcome to the AuFixedPointRoundDown(3) page β it lives in the Library Functions Manual and it's genuinely one of the cutest little macros in the whole audio lib, no cap π
πΈ NAME πΈ
AuFixedPointRoundDown β get the rounded down integer portion of a fixed point value π«Ά
π SYNOPSIS π
#include <audio/audiolib.h>
AuFixedPointRoundDown(fp)
AuFixedPoint fp;
π ARGUMENTS π
fpβ Specifies the fixed point to round down. that's it. that's the whole input. she takes one (1) argument and she's thriving β¨
π¦ DESCRIPTION π¦
AuFixedPointRoundDown returns the rounded down integer portion of fp.
plot twist incoming: AuFixedPointRoundDown is implemented as a macro. not a function. a macro. she's built different πβ¨
π SEE ALSO π
AuFixePointFractionalAddendAuFixePointFromFractionAuFixePointFromSumAuFixePointIntegralAddendAuFixePointRoundUp
and also, obvi, audiolib - Network Audio System C Language Interface β go read the whole thing, it's giving main character energy π
okay that's the whole page, you ate that π this was audiolib version 1.9.4, and yes the manual calls her AuFixedPointRoundDown(3) β go round some stuff down, bestie, i'm obsessed ππ§
π¦ 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