AuDefineToFormat(3)

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

✨ AuDefineToFormat πŸ’–

okay bestie, welcome to the little function that's basically a translator between your C-preprocessor #defines and Actual Format Numbers. it lives in audiolib, the Network Audio System C Language Interface, and honestly? it's giving tiny-but-mighty. πŸ¦‹


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

int AuDefineToFormat(define)
    char *define;

like, that's the whole vibe. one include, one function, no drama. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • define β€” the C-preprocessor define you want it to look at. hand it over and let the girl work. ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea, bestie: AuDefineToFormat returns the format that's specified by define. that's it, that's the job. she reads your define, she tells you the format.

and if define isn't valid? she hands you back -1. no cap. that's the "girl, no" signal. 😭

lowkey important: -1 is not a format, it's a "this define isn't valid" notification. treat it accordingly, bestie. 🚩

🌈 SEE ALSO 🌈

  • AuFormatToDefine β€” the reverse direction, the remix, the mirror selfie of this function. πŸͺž
  • audiolib β€” Network Audio System C Language Interface. the whole friend group, fr fr. πŸ’œ

mwah πŸ’‹ that's the page. this lil gem ships with audioutil, version 1.9.5, and it's from the AuDefineToFormat(3) manual. go forth and translate your defines, queen. 🫢✨

πŸ“¦ where this page comes from