GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AFINITFILEFORMAT (3)

.ds Aq ’

NAME

afInitFileFormat - initialize file format of an audio file setup

CONTENTS

SYNOPSIS

#include <audiofile.h>

void afInitFileFormat(AFfilesetup setup, int fileFormat);

PARAMETERS

setup is a valid file setup created by afNewFileSetup(3).

fileFormat is an integer constant specifying a file format.

DESCRIPTION

Given an AFfilesetup structure created with afNewFileSetup(3), afInitFileFormat initializes the file format to that specified by fileFormat.

The following file formats are currently supported:

AF_FILE_RAWDATA

raw audio data

AF_FILE_AIFF

Audio Interchange File Format

AF_FILE_AIFFC

Audio Interchange File Format AIFF-C

AF_FILE_NEXTSND

NeXT .snd/Sun .au

AF_FILE_WAVE

Microsoft RIFF WAVE

AF_FILE_BICSF

Berkeley/IRCAM/CARL Sound File

AF_FILE_AVR

Audio Visual Research

AF_FILE_IFF_8SVX

Amiga IFF/8SVX

AF_FILE_SAMPLEVISION

Sample Vision

AF_FILE_VOC

Creative Voice File

AF_FILE_NIST_SPHERE

NIST SPHERE

AF_FILE_CAF

Core Audio Format

ERRORS

afInitFileFormat can produce the following errors:

AF_BAD_FILESETUP

setup represents an invalid file setup.

AF_BAD_FILEFMT

fileFormat represents an unknown file format.

AF_BAD_NOT_IMPLEMENTED

fileFormat represents a file format which is not currently implemented.

SEE ALSO

afNewFileSetup(3)

AUTHOR

Michael Pruett <michael@68k.org>

Search for    or go to Top of page |  Section 3 |  Main Index


Audio File Library 0&.3&.6 AFINITFILEFORMAT (3) 03/06/2013

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.