[PATCH 4/4] dsound: Resample to float, not device format

Andrew Eikum aeikum at codeweavers.com
Mon May 14 15:20:08 CDT 2012


Before this patch, the chain is
secondary format
 =(Resample)=> float
 =(Reformat)=> device format
 =(Mix)=> float
 =(Reformat)=> device format

Now it's
secondary format
 =(Resample)=> float
 =(Mix)=> float
 =(Reformat)=> device format

This lets us remove the 'mixfunction' pointer.
---
 dlls/dsound/dsound_convert.c |   92 +++------------------------------
 dlls/dsound/dsound_private.h |    9 ++--
 dlls/dsound/mixer.c          |  117 ++++++++++++++++--------------------------
 dlls/dsound/primary.c        |   15 ++----
 4 files changed, 58 insertions(+), 175 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-dsound-Resample-to-float-not-device-format.patch
Type: text/x-patch
Size: 15239 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120514/af62bfea/attachment-0001.bin>


More information about the wine-patches mailing list