Wave Arts VQE  1.00
Voice Quality Enhancement
Defines | Functions
AFileMaker.h File Reference

Audio file reading and writing. More...

#include "WaveNativeFileIO.h"
#include "AiffFileIO.h"

Go to the source code of this file.

Defines

#define AFILE_WAV   1
 WAV file format supported.
#define AFILE_AIFF   1
 AIFF file format supported.
#define AFILE_AU   0
 AU file format supported.

Functions

AFileIOType GetAFileInType (char *fileName)
 Get the file type from filename.
AFileIOType GetAFileOutType (char *fileName)
 Get the file type from filename.
AFileInMakeAFileIn (AFileIOType type)
 Make an audio file reader.
AFileOutMakeAFileOut (AFileIOType type)
 Make an audio file writer.

Detailed Description

Audio file reading and writing.

Include this file to create audio file readers and writers. For example, to create a reader:

AFileIn *afi = MakeAFileIn(GetAFileInType(fileName));

If the fileName is "foo.wav" a WAV file reader will be created.


Function Documentation

AFileIOType GetAFileInType ( char *  fileName)

Get the file type from filename.

Parameters:
[in]fileNamepath of file

Looks at filename extension to determine audio file type.

AFileIOType GetAFileOutType ( char *  fileName)

Get the file type from filename.

Parameters:
[in]fileNamepath of file

Looks at filename extension to determine audio file type.

AFileIn* MakeAFileIn ( AFileIOType  type)

Make an audio file reader.

Parameters:
[in]typeaudio file type

Make the proper file reader based on file type.

AFileOut* MakeAFileOut ( AFileIOType  type)

Make an audio file writer.

Parameters:
[in]typeaudio file type

Make the proper file writer based on file type.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines