opalwavfile.h

Go to the documentation of this file.
00001 /*
00002  * OpalWavFile.h
00003  *
00004  * WAV file class with auto-PCM conversion
00005  *
00006  * OpenH323 Library
00007  *
00008  * Copyright (c) 2002 Equivalence Pty. Ltd.
00009  *
00010  * The contents of this file are subject to the Mozilla Public License
00011  * Version 1.0 (the "License"); you may not use this file except in
00012  * compliance with the License. You may obtain a copy of the License at
00013  * http://www.mozilla.org/MPL/
00014  *
00015  * Software distributed under the License is distributed on an "AS IS"
00016  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
00017  * the License for the specific language governing rights and limitations
00018  * under the License.
00019  *
00020  * The Original Code is Open H323 Library.
00021  *
00022  * Contributor(s): ______________________________________.
00023  *
00024  * $Revision: 19279 $
00025  * $Author: rjongbloed $
00026  * $Date: 2008-01-17 04:08:34 +0000 (Thu, 17 Jan 2008) $
00027  */
00028 
00029 #ifndef __OPALWAVFILE_H
00030 #define __OPALWAVFILE_H
00031 
00032 #ifdef P_USE_PRAGMA
00033 #pragma interface
00034 #endif
00035 
00036 
00037 #include <ptclib/pwavfile.h>
00038 
00039 namespace PWLibStupidLinkerHacks {
00040   extern int opalwavfileLoader;
00041 };
00042 
00051 class OpalWAVFile : public PWAVFile
00052 {
00053   PCLASSINFO(OpalWAVFile, PWAVFile);
00054   public:
00055     OpalWAVFile(
00056       unsigned format = fmt_PCM 
00057     );
00058 
00071     OpalWAVFile(
00072       OpenMode mode,            
00073       int opts = ModeDefault,   
00074       unsigned format = fmt_PCM 
00075     );
00076 
00086     OpalWAVFile(
00087       const PFilePath & name,     
00088       OpenMode mode = ReadWrite,  
00089       int opts = ModeDefault,     
00090       unsigned format = fmt_PCM 
00091     );
00092 };
00093 
00094 #endif // __OPALWAVFILE_H
00095 
00096 
00097 // End of File ///////////////////////////////////////////////////////////////

Generated on Mon Sep 15 11:49:14 2008 for OPAL by  doxygen 1.5.1