[PATCH 02/10] dsound: Request that WinMM perform audio conversion if the hardware doesn't support the requested format

Andrew Eikum aeikum at codeweavers.com
Wed Jul 13 14:20:25 CDT 2011


Prior to this patch, dsound will fail if the user requests a format that
the hardware does not directly support. According to the tests,
IDirectSoundBuffer::SetFormat() should always succeed, even if a format
isn't directly supported. So, we should specify the WAVE_MAPPED flag to
wave{Out,In}Open in order to request that WinMM convert the audio for us
if the hardware doesn't directly support it.
---
  dlls/dsound/capture.c |    2 +-
  dlls/dsound/primary.c |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-dsound-Request-that-WinMM-perform-audio-conversion-i.patch
Type: text/x-patch
Size: 976 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110713/8301f1ed/attachment.bin>


More information about the wine-patches mailing list