AuFormatToDefine(3)
β¨ AuFormatToDefine(3) β¨
ok so bestie, welcome to the Library Functions Manual section of the audioutil docs π this one's a little one-page wonder, a tiny icon, a single-function baddie. it's giving "short but essential." π
πΈ NAME πΈ
AuFormatToDefine β the way to get the C-preprocess define for a format. yep. that's the whole job. no cap. π
π¦ SYNOPSIS π¦
#include <audio/audiolib.h>
char *AuFormatToDefine(format)
unsigned int format;
ok like look at her, so demure, so mindful π«Ά
π ARGUMENTS π
formatβ this is the audio data format you're asking about. an audio data format. that's it. she's specifying an audio data format, bestie, that's her whole arc.
π DESCRIPTION π
AuFormatToDefine returns the C-preprocessor define for format β or it returns "unknown" if format isn't valid. π
that's it. that's the function. it looks at your format, hands you back the define string, and if you gave it something fake it just goes "unknown" at you. no drama, no crash, no yelling. just "unknown." lowkey respectful of your feelings ngl. π
bestie reminder:"unknown"comes back as an actual string, so don't be out here treating a nonsenseformatlike it's a valid one. check before you vibe. β
π SEE ALSO π
AuFormatToStringβ the sibling. the other format-to-string girlie. go say hi πaudiolibβ Network Audio System C Language Interface. the whole friend group. the main character. π
and that's the page, periodt. πΈ this was served up from audioutil, version 1.9.4 β mwah, sending u the good vibes, go write some audio code bestie πβ¨π¦
π¦ 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