The following tables list the members exposed by WaveFormatEx.
Public Fields
| Name | Description |
| cbSize | Size, in bytes, of extra format information appended to the end of the WAVEFORMATEX structure. |
| nAvgBytesPerSec | In most cases, this member contains the required average data-transfer rate, in bytes per second, for the format tag. |
| nBlockAlign | Block alignment, in bytes. The block alignment is the minimum atomic unit of data for the wFormatTag format type. |
| nChannels | Number of audio channels. Monaural data uses one channel and stereo data uses two channels. |
| nSamplesPerSec | Sample rate, in samples per second (hertz). Common values are 8.0 kHz, 11.025 kHz, 22.05 kHz, and 44.1 kHz. |
| wBitsPerSample | Bits per sample for the wFormatTag format type. |
| wFormatTag | Waveform-audio format type. Format tags are registered with Microsoft Corporation for many compression algorithms. |
Top
See Also