On Thursday, September 02, 2010 1:38:29 pm Owen Rudge wrote:
These patches add support to DirectSound that allow the conversion of 32-bit IEEE float audio buffers to PCM. Some games (e.g., Call of Duty 5) output their audio in this format, and media players such as foobar2000 have support for it too.
You'll probably want to make sure the float values are clamped between -1 and +1 before converting, otherwise they'll wrap and cause bad static noise.