AuFormatToString(3)

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

✨ AuFormatToString(3) ✨

okay bestie, welcome to the manual page for AuFormatToString πŸ’– it lives in the Library Functions Manual section 3 (the C library one, iykyk), and it's about to tell you the name of a format. that's it. that's the whole job. and she does it flawlessly πŸ’…


🌸 NAME 🌸

AuFormatToString β€” get the name of a format. literally just the name. no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <audio/audiolib.h>

char *AuFormatToString(format)
    unsigned int format;

like. it takes one (1) whole argument and hands you back a char *. so simple. so iconic πŸ‘‘


πŸ“ ARGUMENTS πŸ“

  • format β€” specifies the audio data format. currently, the following formats are defined: AuFormatULAW8, AuFormatLinearUnsigned8, AuFormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUnsigned16MSB, AuFormatLinearSigned16LSB, and AuFormatLinearUnsigned16LSB. yes bestie, that's the whole roster β€” memorize it, it's giving flashcard energy ✨

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea πŸ«– β€” AuFormatToString returns the name of format. that's the vibe. you hand her a format, she hands you back a name.

and if format is not recognized? she doesn't spiral, she doesn't ghost you, she just returns "Unknown". graceful. composed. main character behavior fr fr πŸ˜­πŸ’–


🌈 SEE ALSO 🌈

  • AuStringToFormat β€” the reverse bestie, going from a name back to a format πŸ”„
  • audiolib β€” Network Audio System C Language Interface πŸ“Ό

and that's a wrap, gorgeous ✨ this little page came from the audioutil fam, version 1.9.5, and it's filed under AuFormatToString(3) β€” go forth and format, you absolute legend πŸ‘‘πŸ’…

πŸ“¦ where this page comes from