AUFIXEDPOINTFROMFRACTION(3x)

πŸ“¦ version 1.9.5, in fedora 43, fedora 44

✨ Name ✨

okay so bestie, meet AuFixedPointFromFraction from the Library Functions Manual β€” she's the one who makes a fixed point value. no cap. πŸ’…


🌸 Synopsis 🌸

#include <audio/audiolib.h>

AuFixedPoint AuFixedPointFromFraction(nnn, ddd)
      int nnn;
      int ddd;

πŸŽ€ Arguments πŸŽ€

  • nnn β€” Specifies the numerator. she's the top of the fraction, the main character. ✨
  • ddd β€” Specifies the denominator. the bottom babe, the one doing the dividing. πŸ’–

πŸ¦‹ Description πŸ¦‹

AuFixedPointFromFraction constructs a fixed point value by dividing nnn by ddd. it's giving math but make it audio-lib coded. πŸ”₯

bestie, listen: AuFixedPointFromFraction is implemented as a macro. not a regular function, a macro. iykyk. πŸ’…

πŸ‘‘ See Also πŸ‘‘

  • AuFixePointFractionalAddend
  • AuFixePointFromSum
  • AuFixePointIntegralAddend
  • AuFixePointRoundDown
  • AuFixePointRoundUp

and also: audiolib - Network Audio System C Language Interface. periodt. 🌈


okay that's the whole page, bestie! this iconic little entry is from audiolib 1.9.5, AuFixedPointFromFraction(3). mwah πŸ’‹

πŸ“¦ where this page comes from