Debian Codegraph @

docs/afInitAESChannelDataTo.3

raw
1 '\" t
2 .\" Title: afInitAESChannelDataTo
3 .\" Author: [see the "AUTHOR" section]
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5 .\" Date: 03/06/2013
6 .\" Manual: \ \&
7 .\" Source: Audio File Library 0.3.6
8 .\" Language: English
9 .\"
10 .TH "AFINITAESCHANNELDATA" "3" "03/06/2013" "Audio File Library 0\&.3\&.6" "\ \&"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 afInitAESChannelDataTo, afInitAESChannelData \- initialize AES non\-audio data in an audio file setup
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 #include <audiofile\&.h>
36 .fi
37 .sp
38 .nf
39 void afInitAESChannelDataTo(AFfilesetup setup, int track, int willHaveData);
40 void afInitAESChannelData(AFfilesetup setup, int track);
41 .fi
42 .SH "PARAMETERS"
43 .sp
44 setup is a valid file setup returned by \fBafNewFileSetup\fR(3)\&.
45 .sp
46 track specifies a track within the audio file setup\&. track is always AF_DEFAULT_TRACK for all currently supported file formats\&.
47 .sp
48 willHaveData is a boolean\-valued integer indicating whether AES non\-audio data will be present\&.
49 .SH "DESCRIPTION"
50 .sp
51 Given an AFfilesetup structure created with \fBafNewFileSetup\fR(3) and a track identified by track (AF_DEFAULT_TRACK for all currently supported file formats), afInitAESChannelDataTo initializes the track to contain or not contain AES non\-audio data\&. afInitAESChannelData behaves similarly but always initializes the track to contain AES non\-audio data\&.
52 .sp
53 Currently only AIFF and AIFF\-C file formats can store AES non\-audio data; this data is ignored in all other file formats\&.
54 .SH "ERRORS"
55 .sp
56 afInitAESChannelDataTo and afInitAESChannelData can produce the following errors:
57 .PP
58 AF_BAD_FILESETUP
59 .RS 4
60
61 setup
62 represents an invalid file setup\&.
63 .RE
64 .PP
65 AF_BAD_TRACKID
66 .RS 4
67
68 track
69 represents an invalid track identifier\&.
70 .RE
71 .SH "SEE ALSO"
72 .sp
73 \fBafNewFileSetup\fR(3)
74 .SH "AUTHOR"
75 .sp
76 Michael Pruett <michael@68k\&.org>