Wave Arts VQE  1.00
Voice Quality Enhancement
AFileMaker.h
Go to the documentation of this file.
00001 /*
00002  * This file is part of the Wave Arts VQE library.
00003  * Copyright (C) 2011 Wave Arts, Inc. (http://wavearts.com)
00004  *
00005  * VQE is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * VQE is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * A copy of the GNU General Public License is included with VQE,
00016  * and can be found online at <http://www.gnu.org/licenses/>.
00017  *
00018  * If you'd like to distribute a closed-source product which uses VQE,
00019  * you must obtain a commercial VQE license from Wave Arts.
00020  */
00021 
00032 
00033 
00034 #ifndef _AFILEMAKER_H
00035 #define _AFILEMAKER_H
00036 
00037 //
00038 // Configuration to specify formats supported
00039 //
00040 #define AFILE_WAV       1       //!< WAV file format supported
00041 #define AFILE_AIFF      1       //!< AIFF file format supported
00042 #define AFILE_AU        0       //!< AU file format supported
00043 #if WA_MAC
00044 #define AFILE_SDII      0       //!< SDII file format supported
00045 #endif
00046 
00047 #if AFILE_WAV
00048 #include "WaveNativeFileIO.h"
00049 #endif
00050 #if AFILE_AIFF
00051 #include "AiffFileIO.h"
00052 #endif
00053 #if AFILE_AU
00054 #include "AuFileIO.h"
00055 #endif
00056 #if AFILE_SDII
00057 #include "SDIIFileIO.h"
00058 #endif
00059 
00066 AFileIOType GetAFileInType(char *fileName);
00067 
00074 AFileIOType GetAFileOutType(char *fileName);
00075 
00082 AFileIn *MakeAFileIn(AFileIOType type);
00083 
00090 AFileOut *MakeAFileOut(AFileIOType type);
00091 
00092 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines