AFCLOSEFILE(3) | AFCLOSEFILE(3) |
afCloseFile - close an open audio file
#include <audiofile.h>
int afCloseFile(AFfilehandle file);
file is a valid file handle created by afOpenFile(3).
afCloseFile closes the audio file file, updating the file if it was opened for writing.
afCloseFile returns 0 if the file was closed properly and -1 if an error occurred while closing the file.
afCloseFile can generate these possible errors:
Michael Pruett <michael@68k.org>
03/06/2013 | Audio File Library 0.3.6 |