AuFileFormats(3)
π NAME π
okay so bestie, this is AuFileFormats(3) from the audiolib library functions manual β and it's literally just the tea on audio file formats. which ones exist, what machines they came from, and which data formats each one can hold. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header, no cap:
#include <audio/audiolib.h>
and then β as of right now, bestie, currently β these are the file formats we support:
SoundFileFormatSndSoundFileFormatVocSoundFileFormatWaveSoundFileFormatAiffSoundFileFormatSvx
that's the whole roster. five of them. icons only. π
β¨ DESCRIPTION β¨
so each of these little format constants is its own whole personality, and here's the breakdown π¦
π SoundFileFormatSnd
this one is the format used by Sun and NeXT machines β vintage, lowkey legendary, very much giving old-school workstation energy. it supports these data formats:
AuFormatULAW8AuFormatLinearUnsigned8AuFormatLinearSigned16MSB
π SoundFileFormatVoc
this is the Creative Labs VOC file format. yes, that Creative Labs. it keeps it simple and supports exactly one data format:
AuFormatLinearUnsigned8
π SoundFileFormatWave
the Microsoft WAVE file format, aka the one you've definitely seen a million times. it supports:
AuFormatLinearUnsigned8AuFormatLinearSigned16LSB
π SoundFileFormatAiff
this is the format used by Apple and SGI machines β cross-platform bestie behaviour, we love to see it. it supports:
AuFormatLinearSigned8AuFormatLinearSigned16MSB
π SoundFileFormatSvx
and this one is the format used on Amigas π retro girlies rise up. it supports just the one:
AuFormatLinearSigned8
π SEE ALSO π
go read up on the data side of things too, they're the whole other half of the story:
AuDataFormats
and obviously:
- audiolib β Network Audio System C Language Interface
lowkey a lil' reminder bestie: if you're mixing and matching formats, double-check which data format your chosen file format actually supports, because not every combo is a match. the list above is the whole guest list, fr fr. π
and that's a wrap on AuFileFormats(3) from the audiolib 1.9.4 era β tysm for reading, mwah, go make something sound cute π«Άβ¨π
π¦ 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