Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

afinitfileformat(3) [centos man page]

AFINITFILEFORMAT(3)													       AFINITFILEFORMAT(3)

NAME
afInitFileFormat - initialize file format of an audio file setup 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> Audio File Library 0.3.6 03/06/2013 AFINITFILEFORMAT(3)

Check Out this Related Man Page

AFINITAESCHANNELDATA(3) 												   AFINITAESCHANNELDATA(3)

NAME
afInitAESChannelDataTo, afInitAESChannelData - initialize AES non-audio data in an audio file setup SYNOPSIS
#include <audiofile.h> void afInitAESChannelDataTo(AFfilesetup setup, int track, int willHaveData); void afInitAESChannelData(AFfilesetup setup, int track); PARAMETERS
setup is a valid file setup returned by afNewFileSetup(3). track specifies a track within the audio file setup. track is always AF_DEFAULT_TRACK for all currently supported file formats. willHaveData is a boolean-valued integer indicating whether AES non-audio data will be present. DESCRIPTION
Given an AFfilesetup structure created with afNewFileSetup(3) and a track identified by track (AF_DEFAULT_TRACK for all currently supported file formats), afInitAESChannelDataTo initializes the track to contain or not contain AES non-audio data. afInitAESChannelData behaves similarly but always initializes the track to contain AES non-audio data. Currently only AIFF and AIFF-C file formats can store AES non-audio data; this data is ignored in all other file formats. ERRORS
afInitAESChannelDataTo and afInitAESChannelData can produce the following errors: AF_BAD_FILESETUP setup represents an invalid file setup. AF_BAD_TRACKID track represents an invalid track identifier. SEE ALSO
afNewFileSetup(3) AUTHOR
Michael Pruett <michael@68k.org> Audio File Library 0.3.6 03/06/2013 AFINITAESCHANNELDATA(3)
Man Page

7 More Discussions You Might Find Interesting

1. OS X (Apple)

SigmaTel High Definition Audio 9200

Would anyone here know how modify the appleHDA.kext for use with a Sigmatel HD Audio STAC9200? Help would be much appreciated. Thank you (0 Replies)
Discussion started by: Heather
0 Replies

2. Linux

No Sound [Sigmatel C-Major Audio] :: Fedora 7

I've been fighting for a few days now with trying to get my soundcard to recognize. I am currently using a Latitude D630 with Sigmatel C-Major Audio using the Intel ICH8 Family. My problem appears to be that the computer cannot detect a sound card but it was only able to install default drivers... (0 Replies)
Discussion started by: grid-lyn
0 Replies

3. UNIX for Dummies Questions & Answers

File format check

How to check if file is in a given format? For instance: if file records are delimeted with "|" ( pipes) and have exactly 26 fields? File is pretty big (~3 mil reccords), so not sure if I have to check all records or just head/tail records or smth. Any ideas are much much more than... (11 Replies)
Discussion started by: Leo_NN
11 Replies

4. HP-UX

Format File

Can someone please give me the commands to format all the files in HP-UX without formatting the OS. (5 Replies)
Discussion started by: joeli
5 Replies

5. UNIX for Advanced & Expert Users

GigE Vision driver for VxWorks

Hello, has anybody implemented a driver for the GigE camera interface standard GigE Vision for VxWorks or knows where to aquire it? I have contacted all GigE Vision camera vendors, but most of them only have support for Windows and Linux and nobody does for VxWorks. Best regards, Anna (1 Reply)
Discussion started by: iq128
1 Replies

6. Shell Programming and Scripting

EBCDIC Format to Normal String

Hi, I have EBCDIC format file and i wold like to convert normal string(user readable) in unix . The source having the binary IBM file format Sample Source Format: ... (3 Replies)
Discussion started by: koti_rama
3 Replies

7. Programming

A Function To Create A 1 Second Sinewave WAVE Beep File In Python.

sinebeep.py Creating an audio WAVE file called... beep.wav ...that can be played using almost ANY audio player available. This simple DEMO snippet of code generates a 1 second sinewave WAVE file. It IS saved inside the CURRENT drawer so that you can find it... ;o) Note that the... (1 Reply)
Discussion started by: wisecracker
1 Replies