AuFormatToString(3)
β¨ AuFormatToString(3) β from the Library Functions Manual β¨
okay bestie, pull up a chair because we're diving into AuFormatToString(3) from the audiolib crew π
π Name π
AuFormatToString β literally just get the name of a format. that's the whole job. no cap. π¦
πΈ Synopsis πΈ
#include <audio/audiolib.h>
char *AuFormatToString(format)
unsigned int format;
β¨ Arguments β¨
formatβ this is the audio data format you're asking about, anunsigned int. rn the formats that are actually defined are:AuFormatULAW8,AuFormatLinearUnsigned8,AuFormatLinearSigned8,AuFormatLinearSigned16MSB,AuFormatLinearUnsigned16MSB,AuFormatLinearSigned16LSB, andAuFormatLinearUnsigned16LSB. that's the whole roster, periodt π
π«Ά Description π«Ά
so like, AuFormatToString hands you back the name of format β or it says "Unknown" if format isn't one it recognizes. simple as that. it's giving reliable bestie energy π
not me side-eyeing a format it doesn't know and getting "Unknown" back π that's the vibe check and you failed it.
π See Also π
AuStringToFormatβ the reverse direction, the mirror twin πͺaudiolibβ Network Audio System C Language Interface
and that's the whole page, bestie π§π this one came from audioutil version 1.9.4, so go forth and format responsibly π
π¦ 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