Logo Search packages:      
Sourcecode: pwlib version File versions

PWAVFile::PWAVFile ( unsigned  format = fmt_PCM  ) 

Create a WAV file object but do not open it. It does not initially have a valid file name. However, an attempt to open the file using the PFile::Open()# function will generate a unique temporary file.

If a WAV file is being created, the type parameter can be used to create a PCM Wave file or a G.723.1 Wave file by using WaveType enum#

Parameters:
format  Type of WAV File to create

Definition at line 253 of file pwavfile.cxx.

Referenced by format().

  : PFile()
{
  Construct();
  SelectFormat(fmt);
}


Generated by  Doxygen 1.6.0   Back to index