AFNEWFILESETUP(3)   AFNEWFILESETUP(3)

afNewFileSetup - create and initialize a new AFfilesetup structure

#include <audiofile.h>
AFfilesetup afNewFileSetup(void);

afNewFileSetup returns, upon success, a valid AFfilesetup structure.

Upon failure, afNewFileSetup returns a null AFfilesetup. This case should only occur when no memory is available.

The opaque AFfilesetup structure returned by afNewFileSetup can be used to specify parameters for a file to be opened for writing by afOpenFile(3).

afOpenFile(3)

Michael Pruett <michael@68k.org>

03/06/2013 Audio File Library 0.3.6