AuStringToFormat(3)

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

✨ AuStringToFormat(3) ✨

okay so bestie, we're in the Library Functions Manual section of the audiolib docs and today's main character is AuStringToFormat πŸ’… she's the one who takes your lil string and tells you what audio data format it means. no cap.


🌸 NAME 🌸

AuStringToFormat β€” return the format described by string. fr fr, that's the whole job.


πŸŽ€ SYNOPSIS πŸŽ€

#include <audio/audiolib.h>

int AuStringToFormat(string)
    char *string;

πŸ¦‹ ARGUMENTS πŸ¦‹

  • string β€” Specifies the string description of the audio data format. like, the word-y version of the format, and she'll translate it into a number for you 🫢

πŸ’– DESCRIPTION πŸ’–

AuStringToFormat returns the numeric value of the audio data format described by string β€” obsessed, she just knows the mapping ✨

or she returns -1 if string is not recognized 😭 so like, if your string is giving chaos and doesn't match anything, you get -1. that's your vibe check failing. no format for you.


⭐ SEE ALSO ⭐

  • AuFormatToString β€” the reverse bestie, numbers β†’ strings πŸ”
  • audiolib β€” Network Audio System C Language Interface

not me being a whole manpage and still keeping it cute πŸŽ€ anyway go forth and convert those strings, queen πŸ‘‘

this has been AuStringToFormat(3) from the audioutil 1.9.5 era of audiolib πŸ’œ periodt. byeee πŸ¦‹βœ¨

πŸ“¦ where this page comes from