afCloseFile (3) - Linux Manuals
afCloseFile: close an open audio file
Command to display afCloseFile
manual in Linux: $ man 3 afCloseFile
NAME
afCloseFile - close an open audio file
SYNOPSIS
#include <audiofile.h>
int afCloseFile(AFfilehandle file);
PARAMETERS
file is a valid file handle created by afOpenFile(3).
DESCRIPTION
afCloseFile closes the audio file file, updating the file if it was opened for writing.
RETURN VALUE
afCloseFile returns 0 if the file was closed properly and -1 if an error occurred while closing the file.
ERRORS
afCloseFile can generate these possible errors:
-
•
AF_BAD_FILEHANDLE
-
•
AF_BAD_LSEEK
-
•
AF_BAD_WRITE
AUTHOR
Michael Pruett <michael [at] 68k.org>
Pages related to afCloseFile
- afGetDataOffset (3) - get the total sample frame count, length of audio track in bytes, offset of the audio track for a track in an audio file
- afGetFrameCount (3) - get the total sample frame count, length of audio track in bytes, offset of the audio track for a track in an audio file
- afGetFrameSize (3) - calculate the frame size in bytes for an audio track
- afGetTrackBytes (3) - get the total sample frame count, length of audio track in bytes, offset of the audio track for a track in an audio file
- afInitAESChannelData (3) - initialize AES non-audio data in an audio file setup
- afInitAESChannelDataTo (3) - initialize AES non-audio data in an audio file setup