AFINITAESCHANNELDATA(3)
β¨ AFINITAESCHANNELDATA β¨
okay bestie so you know those two lil functions, afInitAESChannelDataTo and afInitAESChannelData? they're the ones that set up the AES non-audio data situash in your audio file setup π this is the AFINITAESCHANNELDATA(3) manual page and we're gonna read it together, no skimming, no cap π«Ά
πΈ NAME πΈ
afInitAESChannelDataTo, afInitAESChannelData β initialize AES non-audio data in an audio file setup β¨
π SYNOPSIS π
#include <audiofile.h>
void afInitAESChannelDataTo(AFfilesetup setup, int track, int willHaveData);
void afInitAESChannelData(AFfilesetup setup, int track);
π PARAMETERS π
setupβ a valid file setup that you got back fromafNewFileSetup(3). it's giving "I was born for this" π«trackβ picks a track inside the audio file setup. and literally, for every file format supported rn,trackis alwaysAF_DEFAULT_TRACK. like that's the only option bestie, no decisions to make πwillHaveDataβ a boolean-valued integer that says whether AES non-audio data will be present or not. yes/no energy π
π¦ DESCRIPTION π¦
so you've got yourself an AFfilesetup structure, created with afNewFileSetup(3), and a track identified by track (and remember β AF_DEFAULT_TRACK for all currently supported file formats, periodt). afInitAESChannelDataTo initializes that track to contain AES non-audio data or not contain it, depending on what you told it. afInitAESChannelData is basically the same vibe except it always initializes the track to contain AES non-audio data. no toggle, just yes π
π real talk: currently only AIFF and AIFF-C file formats can even store AES non-audio data. every other file format literally ignores it. so if you're working in something else, this data is getting the silent treatment π
π ERRORS π
afInitAESChannelDataTo and afInitAESChannelData can throw these at you:
AF_BAD_FILESETUPβ yoursetupis an invalid file setup. it's giving broken, bestie π«AF_BAD_TRACKIDβ yourtrackis an invalid track identifier. not a real track, not invited π
π SEE ALSO π
π«Ά AUTHOR π«Ά
Michael Pruett <michael@68k.org> β thank you for your service king π
Audio File Library version 0.3.6, dated 03/06/2013 β yeah she's an icon, she's a legend, and she is the moment β¨π πΈ that's the whole page bestie, now go initialize some AES non-audio data, you absolute main character π¦β
π¦ where this page comes from
- alpine 3.24: audiofile-doc 0.3.6-r3 Β· LGPL-2.1-or-later
- arch rolling: audiofile 0.3.6-12 Β· Apache-2.0 AND GPL-2.0-or-later AND LGPL-2.1-or-later
- debian bookworm: libaudiofile-dev 0.3.6-5+deb12u1 Β· LGPL-2.1-or-later
- debian trixie: libaudiofile-dev 0.3.6-7+b1 Β· LGPL-2.1-or-later
- epel 10: audiofile-devel 1:0.3.6-44.el10_2 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- epel 9: audiofile-devel 1:0.3.6-36.el9 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 43: audiofile-devel 1:0.3.6-42.fc43 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 43: audiofile-devel 1:0.3.6-42.fc43 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 44: audiofile-devel 1:0.3.6-44.fc44 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 44: audiofile-devel 1:0.3.6-44.fc44 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- nixpkgs unstable: audiofile 0.3.6
- opensuse-leap 16.0: audiofile-doc 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: audiofile-doc 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: audiofile-doc 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: audiofile-doc 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu jammy: libaudiofile-dev 0.3.6-5+deb10u1build0.22.04.1 Β· LGPL-2.1-or-later
- ubuntu jammy: libaudiofile-dev 0.3.6-5build1 Β· LGPL-2.1-or-later
- ubuntu noble: libaudiofile-dev 0.3.6-6build2 Β· LGPL-2.1-or-later
- ubuntu questing: libaudiofile-dev 0.3.6-7build1
- ubuntu resolute: libaudiofile-dev 0.3.6-7build2 Β· LGPL-2.1-or-later
- ubuntu stonking: libaudiofile-dev 0.3.6-7build2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms