Data Fields | |
| unsigned short | nFormatTag |
| unsigned short | nChannels |
| unsigned int | nSamplesPerSec |
| unsigned int | nAvgBytesPerSec |
| unsigned short | nBlockAlign |
| unsigned short | wBitsPerSample |
| 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)
1.5.3