AFreadHinfo


Routine

char *AFreadHinfo (AFILE *AFp, int *Ninfo)

Purpose

Read an AFsp audio file header information string

Description

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.

Parameters

<- char *AFreadHinfo
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.
 -> AFILE *AFp
File pointer for the audio file
<- int *Ninfo
Number of characters in the header information string

Author / revision

P. Kabal / Revision 1.23 1996/05/31

See Also

AFopenRead


Main Index libtsp