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

unsigned PWAVFile::GetChannels (  )  const [virtual]

Find out the number of channels the WAV file has. Typically this is 1 for mono and 2 for stereo.

Definition at line 550 of file pwavfile.cxx.

{
  if (isValidWAV)
    return wavFmtChunk.numChannels;
  else
    return 0;
}


Generated by  Doxygen 1.6.0   Back to index