AuStringToFormat(3)
β¨ AuStringToFormat π
okay bestie, so this is a page from the Library Functions Manual β the AuStringToFormat(3) one β and honestly it's a lil shortie but she's important, so let's get into it π
πΈ Name πΈ
AuStringToFormat β the girl who tells you the format described by a string. like, you hand her a string, she hands you back a number. matchmaker energy fr fr π
π¦ Synopsis π¦
#include <audio/audiolib.h>
int AuStringToFormat(string)
char *string;
so yeah, you gotta pull in <audio/audiolib.h> first β no header, no vibes β¨ β and then she's right there waiting for you, returning an int and taking one lil char *string.
π Arguments π
stringβ the string description of the audio data format. it's giving "describe the format in words and I'll handle it" π
π Description π
AuStringToFormat returns the numeric value of the audio data format that string describes. that's it, that's the whole job, she ate π
but babes, listen β ifstringis not recognized, you get-1. that's the "no ma'am, I don't know her" answer π so always vibe check your return value before you go using it as a real format, okay?
π See Also π
AuFormatToStringβ the reverse bestie, she goes the other way πaudiolibβ Network Audio System C Language Interface π«Ά
that's the whole page, my love, short and sweet and she slays βπ
this cutie came to you from audioutil, version 1.9.4, dated 1.9.4 β periodt, go forth and convert those strings π§π π₯
π¦ 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