AFclose


Routine

void AFclose (AFILE *AFp)

Purpose

Close an audio file

Description

This routine closes an audio file opened with AFopenRead or AFopenWrite. If the file was opened for write, the file header is updated with the number of samples in the file. For both read and write operations, the file format parameters associated with the file pointer are deallocated and the file is closed.

If the file was opened for write, the number of overloads detected during write operations is reported.

Parameters

 -> AFILE *AFp
Audio file pointer for the audio file

Author / revision

P. Kabal / Revision 1.24 1996/08/13

See Also

AFopenRead, AFopenWrite


Main Index libtsp