00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 #ifndef OPAL_CODEC_OPALWAVFILE_H
00030 #define OPAL_CODEC_OPALWAVFILE_H
00031 
00032 #ifdef P_USE_PRAGMA
00033 #pragma interface
00034 #endif
00035 
00036 #include <opal/buildopts.h>
00037 
00038 #include <ptclib/pwavfile.h>
00039 
00040 namespace PWLibStupidLinkerHacks {
00041   extern int opalwavfileLoader;
00042 };
00043 
00052 class OpalWAVFile : public PWAVFile
00053 {
00054   PCLASSINFO(OpalWAVFile, PWAVFile);
00055   public:
00056     OpalWAVFile(
00057       unsigned format = fmt_PCM 
00058     );
00059 
00072     OpalWAVFile(
00073       OpenMode mode,            
00074       int opts = ModeDefault,   
00075       unsigned format = fmt_PCM 
00076     );
00077 
00087     OpalWAVFile(
00088       const PFilePath & name,     
00089       OpenMode mode = ReadWrite,  
00090       int opts = ModeDefault,     
00091       unsigned format = fmt_PCM 
00092     );
00093 };
00094 
00095 #endif // OPAL_CODEC_OPALWAVFILE_H
00096 
00097 
00098