void AFsetInfo(const char InfoRec[])
Add an audio file information record
This routine adds an information string to be written to an audio file header or trailer. By default standard information records (see below) are used. This routine allows the user to specify information records that are used in addition to, or in place of, the standard information records. This routine must be called before the audio file is opened using AFopnWrite. After the file has been opened the information records are reset. In addition, the default condition (use both the standard information records and the user information records) is re-established.
date: 1994-01-25 19:19:39 UTC date and time sample_rate: 8012.5 sampling frequency (if non-integer) program: CopyAudio program name (if set by UTsetProg) loudspeakers: FL FR FC loudspeaker locations (if specified) bits_per_sample: 12/16 bits/sample (if specified)
If the input information record is empty, the standard information will not be used and any previous user supplied information records will be discarded. Subsequent calls to this routine can be used to specify new information records.
User supplied information records should follow the format of a named field terminated by a colon followed by text. Each time AFsetInfo is called, a user supplied information record is appended to the user information.
"display_text:" => DISP chunk
"archival_location:" => IARL field of a LIST/INFO chunk
"artist:" => IART field of a LIST/INFO chunk
"commissioned: => ICMS field of a LIST/INFO chunk
"comment:" or "comments:" => ICMT field of a LIST/INFO chunk
"copyright:" => ICOP field of a LIST/INFO chunk
"creation_date:", "date:", or "recording_date:"
=> ICRD field of a LIST/INFO chunk
"engineer:" => IENG field of a LIST/INFO chunk
"genre:" => IGNR field of a LIST/INFO chunk
"keywords:" => IKEY field of a LIST/INFO chunk
"medium" => IMED field of a LIST/INFO chunk
"title:" or "name:" => INAM field of a LIST/INFO chunk
"product:" => IPRD field of a LIST/INFO chunk
"subject:" => ISBJ field of a LIST/INFO chunk
"software:" or "program:" => ISFT field of a LIST/INFO chunk
"source:" => ISRC field of a LIST/INFO chunk
"source_form:" => ISRF field of a LIST/INFO chunk
"technician:" => ITCH field of a LIST/INFO chunk
"title:" or "name:" => NAME chunk
"artist:" or "author:" => AUTH chunk
"copyright:" => (c) chunk
"comment:", "comments:", or "annotation:"
=> ANNO chunk
The information records are stored in the header of the output file.
P. Kabal / Revision 1.64 2022-08-31