SysTutorials

Linux Manual Pages › Section 3

afnewfilesetup(3)

afNewFileSetup – create and initialize a new AFfilesetup structure

Synopsis

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

Description

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

afOpenFile(3)

Author

Michael Pruett <michael [at] 68k.org>