1AFINITAESCHANNELDATA(3) AFINITAESCHANNELDATA(3)
2
3
4
6 afInitAESChannelDataTo, afInitAESChannelData - initialize AES non-audio
7 data in an audio file setup
8
10 #include <audiofile.h>
11
12 void afInitAESChannelDataTo(AFfilesetup setup, int track, int willHaveData);
13 void afInitAESChannelData(AFfilesetup setup, int track);
14
16 setup is a valid file setup returned by afNewFileSetup(3).
17
18 track specifies a track within the audio file setup. track is always
19 AF_DEFAULT_TRACK for all currently supported file formats.
20
21 willHaveData is a boolean-valued integer indicating whether AES
22 non-audio data will be present.
23
25 Given an AFfilesetup structure created with afNewFileSetup(3) and a
26 track identified by track (AF_DEFAULT_TRACK for all currently supported
27 file formats), afInitAESChannelDataTo initializes the track to contain
28 or not contain AES non-audio data. afInitAESChannelData behaves
29 similarly but always initializes the track to contain AES non-audio
30 data.
31
32 Currently only AIFF and AIFF-C file formats can store AES non-audio
33 data; this data is ignored in all other file formats.
34
36 afInitAESChannelDataTo and afInitAESChannelData can produce the
37 following errors:
38
39 AF_BAD_FILESETUP
40
41 setup represents an invalid file setup.
42
43 AF_BAD_TRACKID
44
45 track represents an invalid track identifier.
46
48 afNewFileSetup(3)
49
51 Michael Pruett <michael@68k.org>
52
53
54
55Audio File Library 0.3.6 03/06/2013 AFINITAESCHANNELDATA(3)