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
AFsetFileType(3tsp) AFsetFileType(3tsp)


int AFsetFileType (const char String[])


Set the input audio file type

This routine sets the audio file type. This file type is checked when reading audio files. Explicitly setting the audio file type bypasses the need for a check for file type from the file header.
  "auto"      - determine the input file type from the file header
  "AU" or "au" - AU audio file
  "WAVE" or "wave" - WAVE file
  "AIFF" or "aiff" - AIFF or AIFF-C sound file
  "noheader"  - headerless (non-standard or no header) audio file
  "SPHERE"    - NIST SPHERE audio file
  "ESPS"      - ESPS sampled data feature file
  "IRCAM"     - IRCAM soundfile
  "SPPACK"    - SPPACK file
  "INRS"      - INRS-Telecom audio file
  "SPW"       - Comdisco SPW Signal file
  "CSL" or "NSP" - CSL NSP file
  "text"      - Text audio file

If the input string contains has a leading '$', the string is assumed to specify the name of an environment variable after the '$'. This routine uses the value of this environment variable to determine the parameters. For instance, if this routine is called as AFsetFileType("$AF_FILETYPE"), this routine would look for the parameter string in environment variable AF_FILETYPE.


<- int AFsetFileType
Error code, zero for no error -> const char String[]
String with the input file type

P. Kabal / Revision 1.16 2003/05/09
TSP (libtsp/AF)

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

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