WaveFormat Struct Reference


Detailed Description

WAV file format.

Data Fields

unsigned short nFormatTag
unsigned short nChannels
unsigned int nSamplesPerSec
unsigned int nAvgBytesPerSec
unsigned short nBlockAlign
unsigned short wBitsPerSample

Field Documentation

unsigned short WaveFormat::nFormatTag

Codec ID.

unsigned short WaveFormat::nChannels

The number of channels.

unsigned int WaveFormat::nSamplesPerSec

sampling rate: sample frames per sec.

unsigned int WaveFormat::nAvgBytesPerSec

sampling rate * block alignment

unsigned short WaveFormat::nBlockAlign

number of channels * bytes_per_sample

unsigned short WaveFormat::wBitsPerSample

bytes_per_sample * 8 (PCM-specific field)


Generated on Thu May 1 15:37:29 2008 for SREC by  doxygen 1.5.3