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

Owen Rudge orudge at codeweavers.com
Wed Sep 8 13:02:27 CDT 2010


Try 2:

- clamp source values to between -1.0 and 1.0
- fix test failure on Win98 (IEEE float buffer creation does succeed on 
DX<8, but doesn't play properly unless you use Win2K)

---
  dlls/dsound/dsound.c         |    2 +-
  dlls/dsound/dsound_convert.c |   62 
+++++++++++++++++++++++++++++++++++++++++-
  dlls/dsound/dsound_private.h |    2 +-
  dlls/dsound/mixer.c          |   20 ++++++++++++-
  include/mmreg.h              |    1 +
  5 files changed, 82 insertions(+), 5 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-dsound-Add-support-for-32-bit-IEEE-float-buffers.patch
Type: text/x-patch
Size: 7216 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100908/0b04e7d1/attachment-0001.bin>


More information about the wine-patches mailing list