[1/3] dsound: Add support for 32-bit IEEE float buffers

Chris Robinson chris.kcat at gmail.com
Thu Sep 2 16:29:13 CDT 2010

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.

More information about the wine-devel mailing list