1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
<HTML>
<HEAD>
<TITLE>TSP (libtsp/AF) - AFreadHinfo</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFACD">
<H2>AFreadHinfo</H2>
<HR>
<H4>Routine</H4>
<DL>
<DT>
char *AFreadHinfo (AFILE *AFp, int *Ninfo)
</DL>
<H4>Purpose</H4>
<DL>
<DT>
Read an AFsp audio file header information string
</DL>
<H4>Description</H4>
This routine reads the information string from an AFsp audio file header.
The AFsp audio file header information string consists of a sequence of null
terminated strings corresponding to the header records. If the last record
is not null terminated, a null is added. The string is Ninfo characters
long, including this terminating null. If the audio file is not an AFsp
file, a pointer to an empty string is returned.
<H4>Parameters</H4>
<DL>
<DT>
<- char *AFreadHinfo
<DD>
Pointer to the header information string. This is a pointer to a
dynamically allocated storage area; each call to this routine reallocates
this storage area.
<DT>
-> AFILE *AFp
<DD>
File pointer for the audio file
<DT>
<- int *Ninfo
<DD>
Number of characters in the header information string
</DL>
<H4>Author / revision</H4>
P. Kabal Copyright (C) 1996
/ Revision 1.23 1996/05/31
<H4>See Also</H4>
<A HREF="AFopenRead.html">AFopenRead</A>
<P>
<HR>
Main Index <A HREF="../libtsp.html">libtsp</A>
</BODY>
</HTML>
|