http://bugs.winehq.org/show_bug.cgi?id=14717
--- Comment #83 from Krzysztof Nikiel zzdz2@yahoo.pl 2010-12-27 09:59:40 CST --- broken volume fix:
diff --git a/dlls/dsound/resample.c b/dlls/dsound/resample.c index 03fcf6f..c133b83 100644 --- a/dlls/dsound/resample.c +++ b/dlls/dsound/resample.c @@ -286,11 +286,9 @@ DWORD DSOUND_PullBuffer(IDirectSoundBufferImpl * dsb, }
if (chan < 2) - rsum[chan] *= amp[chan]; + putsample(bufptr, oBPS, rsum[chan]*amp[chan]); else - rsum[chan] *= amp[2]; - - putsample(bufptr, oBPS, rsum[chan]); + putsample(bufptr, oBPS, rsum[chan]*amp[2]);
bufptr += oBPS; }