| 1 |
afInitAESChannelDataTo(3) |
| 2 |
========================= |
| 3 |
|
| 4 |
NAME |
| 5 |
---- |
| 6 |
afInitAESChannelDataTo, afInitAESChannelData - initialize AES non-audio |
| 7 |
data in an audio file setup |
| 8 |
|
| 9 |
SYNOPSIS |
| 10 |
-------- |
| 11 |
#include <audiofile.h> |
| 12 |
|
| 13 |
void afInitAESChannelDataTo(AFfilesetup setup, int track, int willHaveData); |
| 14 |
void afInitAESChannelData(AFfilesetup setup, int track); |
| 15 |
|
| 16 |
PARAMETERS |
| 17 |
---------- |
| 18 |
`setup` is a valid file setup returned by linkaf:afNewFileSetup[3]. |
| 19 |
|
| 20 |
`track` specifies a track within the audio file setup. `track` is always |
| 21 |
`AF_DEFAULT_TRACK` for all currently supported file formats. |
| 22 |
|
| 23 |
`willHaveData` is a boolean-valued integer indicating whether AES |
| 24 |
non-audio data will be present. |
| 25 |
|
| 26 |
DESCRIPTION |
| 27 |
----------- |
| 28 |
Given an `AFfilesetup` structure created with linkaf:afNewFileSetup[3] |
| 29 |
and a track identified by `track` (`AF_DEFAULT_TRACK` for all currently |
| 30 |
supported file formats), `afInitAESChannelDataTo` initializes the track to |
| 31 |
contain or not contain AES non-audio data. `afInitAESChannelData` behaves |
| 32 |
similarly but always initializes the track to contain AES non-audio data. |
| 33 |
|
| 34 |
Currently only AIFF and AIFF-C file formats can store AES non-audio data; |
| 35 |
this data is ignored in all other file formats. |
| 36 |
|
| 37 |
ERRORS |
| 38 |
------ |
| 39 |
`afInitAESChannelDataTo` and `afInitAESChannelData` can produce the |
| 40 |
following errors: |
| 41 |
|
| 42 |
`AF_BAD_FILESETUP`:: `setup` represents an invalid file setup. |
| 43 |
`AF_BAD_TRACKID`:: `track` represents an invalid track identifier. |
| 44 |
|
| 45 |
SEE ALSO |
| 46 |
-------- |
| 47 |
linkaf:afNewFileSetup[3] |
| 48 |
|
| 49 |
AUTHOR |
| 50 |
------ |
| 51 |
Michael Pruett <[email protected]> |