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 __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