[PATCH 4/4 try2] dsound: Resample to float, not device format
Andrew Eikum
aeikum at codeweavers.com
Tue May 15 08:29:34 CDT 2012
Before this patch, the chain is
secondary format
=(Resample)=> float
=(Reformat)=> device format
=(Volume)=> device format
=(Mix)=> float
=(Reformat)=> device format
Now it's
secondary format
=(Resample)=> float
=(Volume)=> float
=(Mix)=> float
=(Reformat)=> device format
This lets us remove the 'mixfunction' pointer.
---
try2: Add Volume step to comment, as requested by Alexander Patrakov
dlls/dsound/dsound_convert.c | 92 +++-----------------------------
dlls/dsound/dsound_private.h | 9 ++--
dlls/dsound/mixer.c | 118 ++++++++++++++++--------------------------
dlls/dsound/primary.c | 15 ++----
4 files changed, 59 insertions(+), 175 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsound-Resample-to-float-not-device-format.patch
Type: text/x-patch
Size: 15291 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120515/02824483/attachment.bin>
More information about the wine-patches
mailing list