AuDataFormats(3)
β¨ 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
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- 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