AuDataFormats(3)

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

✨ AuDataFormats(3) ✨

okay bestie, welcome to the audio data formats page of audiolib β€” it's giving "short but essential," and we're gonna make it make sense πŸ’–


🌸 NAME 🌸

AuDataFormats β€” audio data formats. that's it, that's the whole job πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

first things first, you gotta pull in the header:

#include <audio/audiolib.h>

and rn, these are the data formats that are defined, no cap:

  • AuFormatULAW8 β€” says the samples are stored as 8-bit ulaw values. ✨
  • AuFormatLinearUnsigned8 β€” samples are stored as unsigned 8-bit values πŸ’…
  • AuFormatLinearSigned8 β€” samples are stored as signed 8-bit values 🫢
  • AuFormatLinearSigned16MSB β€” samples are stored as signed 16-bit values, with the most significant byte first. big-endian girlies rise πŸ‘‘
  • AuFormatLinearUnsigned16MSB β€” samples are stored as unsigned 16-bit values, with the most significant byte first ⭐
  • AuFormatSignedLinear16LSB β€” this one's the format where samples are stored as signed 16-bit values, with the least significant byte first 🌈
  • AuFormatLinearUnsigned16LSB β€” the format where samples are stored as unsigned 16-bit values, with the least significant byte first πŸ“
heads up bestie: the exact casing matters here β€” AuFormatSignedLinear16LSB really does have "Signed" and "Linear" swapped around compared to its siblings, and the "MSB"/"LSB" suffixes are doing the heavy lifting for byte order. type them exactly like they're written, fr fr πŸ’€

πŸ’œ SEE ALSO πŸ’œ

  • AuFileFormats

and the big one:

  • audiolib β€” Network Audio System C Language Interface 🌟

and that's the whole page, bestie β€” you ate that πŸ’…βœ¨

this one's from audiolib - misc, version 1.9.5, and it's the AuDataFormats(3) page β€” go forth and format your audio, main character πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from