afNewFileSetup man page

afNewFileSetup — create and initialize a new AFfilesetup structure


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

Return Value

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).

See Also



Michael Pruett <michael@68k.org>

Referenced By

afInitAESChannelDataTo(3), afInitCompression(3), afInitFileFormat(3), afInitSampleFormat(3), afOpenFile(3).

Explore man page connections for afNewFileSetup(3).

Audio File Library 0.3.6 03/06/2013