This topic has not yet been rated - Rate this topic

WAVEFORMATEX structure

Applies to: desktop apps only

This content has been moved to WAVEFORMATEX.

See also

Structures

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Code Sample C++
http://asyncop.com/mtnpdirenum.aspx?treeviewPath=%5Bo%5D+Open-Source%5CWinModules%5CMultimedia%5CMultimedia.cpp
24-bit for wBitsPerSample works fine
For wBitsPerSample, it's getting more common to use 24-bit and 32-bit audio. I have used 24-bit just fine. Most programs I have used read the data as signed data.
nSamplesPerSec description could be better
The part explaining nSamplesPerSec is listing them in KHz, where it needs to be in Hz. I know it's minor, but I feel it's something that could add to confusion.

While I'm at it, a list of common sample rates:
8000, 11025, 22050, 44100, 48000, 96000, and 192000