Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PWAVFileFormat::Write ( PWAVFile file,
const void *  buf,
PINDEX &  len 
) [virtual]

read data from the file

Definition at line 886 of file pwavfile.cxx.

References PChannel::GetLastWriteCount(), and PWAVFile::RawWrite().

{ 
  if (!file.RawWrite(buf, len))
    return FALSE;

  len = file.GetLastWriteCount();
  return TRUE;
}


Generated by  Doxygen 1.6.0   Back to index