[Bug 39714] Halo some sounds in cut scenes don't play

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 28 13:23:57 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=39714

--- Comment #17 from Andrew Eikum <aeikum at codeweavers.com> ---
Created attachment 56623
  --> https://bugs.winehq.org/attachment.cgi?id=56623
dsound: Use the value from SetVolume when 3D processing is disabled

This should fix it. In IDirectSoundBufferImpl_SetVolume, we set ds3db_lVolume
but not volpan.lVolume in the 3D buffer case. DSOUND_Calc3DBuffer should
recalculate lVolume from the value given to SetVolume(), but in the
early-return case, we instead drop the value given to SetVolume() and retain
the previously set volume, which in this case happens to be muted. This patch
sets the lVolume value in DSOUND_Calc3DBuffer correctly in the early-return
case.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list