AuDefineToFormat(3)
β¨ 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
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- 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