AuFixedPoi...onalAddend(3)

✨ AuFixedPointFractionalAddend ✨

okay bestie, gather round, we're looking at a page from section 3 of the Library Functions Manual and it's giving quiet luxury fr fr πŸ’…


🌸 Name 🌸

AuFixedPointFractionalAddend β€” that's the whole name, she's mysterious, she's lowkey iconic, she doesn't elaborate πŸ’–


πŸŽ€ Synopsis πŸŽ€

#include <audio/audiolib.h>

AuFixedPointFractionalAddend(fp)
      AuFixedPoint fp;

no cap, that's the entire vibe. one include, one call, one argument. clean ✨


πŸ¦‹ Arguments πŸ¦‹

  • fp β€” Specifies the fixed point value. that's it, that's the girl. she hands you a fixed point value and you're just supposed to know what to do with it πŸ™ˆ

πŸ’œ Description πŸ’œ

so like. AuFixedPointFractionalAddend returns the integer portion of fp. that's the whole plot bestie, no twists, no third act betrayal 😭

and the tea? AuFixedPointFractionalAddend is implemented as a macro. not a function. a macro. so don't come for her with your fancy function-pointer nonsense, she's built different 🫢


⭐ See Also ⭐

go check out her sisters, they're all serving:

  • AuFixePointFromFraction
  • AuFixePointFromSum
  • AuFixePointIntegralAddend
  • AuFixePointRoundDown
  • AuFixePointRoundUp

and also audiolib β€” the Network Audio System C Language Interface. the whole family tree, periodt πŸ‘‘


heads up bestie, those See Also names are spelled exactly like that, typos and all β€” I am NOT fixing them, that's not my job and honestly? not my business 🌈

okay that's the whole page, you ate that, I'm so proud of you πŸ₯ΉπŸ’– this was audiolib version 1.9.4, from the Library Functions Manual, section 3, and yes we're all gonna pretend that truncated little AuFixedPoi...onalAddend(3) in the corner is a cute nickname. bye bestie, go read the other pages, mwah πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from