Logo Search packages:      
Sourcecode: pwlib version File versions

PWAVFile * PWAVFile::format ( const PString format,
PFile::OpenMode  mode,
int  opts = PFile::ModeDefault 
) [static]

Parameters:
format  Type of WAV File to create
mode  Mode in which to open the file.
opts  OpenOptions enum# for open operation.

Definition at line 275 of file pwavfile.cxx.

References Construct(), PWAVFile(), and SelectFormat().

{
  PWAVFile * file = new PWAVFile(mode, opts);
  file->Construct();
  file->SelectFormat(format);
  return file;
}


Generated by  Doxygen 1.6.0   Back to index