Module: wine Branch: master Commit: d961f5ac7e75ccb1a5aac4f20596bf954f2d8500 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d961f5ac7e75ccb1a5aac4f205...
Author: Andrew Eikum aeikum@codeweavers.com Date: Wed Dec 28 14:03:25 2016 -0600
dsound: Use the value from SetVolume when 3D processing is disabled.
Signed-off-by: Andrew Eikum aeikum@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/dsound/sound3d.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/dsound/sound3d.c b/dlls/dsound/sound3d.c index 4f07125..a3a5b41 100644 --- a/dlls/dsound/sound3d.c +++ b/dlls/dsound/sound3d.c @@ -185,6 +185,7 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb) default: TRACE("3D processing disabled\n"); /* this one is here only to eliminate annoying warning message */ + dsb->volpan.lVolume = dsb->ds3db_lVolume; DSOUND_RecalcVolPan (&dsb->volpan); return; }