From d961f5ac7e75ccb1a5aac4f20596bf954f2d8500 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Wed, 28 Dec 2016 14:03:25 -0600 Subject: [PATCH] dsound: Use the value from SetVolume when 3D processing is disabled. Signed-off-by: Andrew Eikum Signed-off-by: Alexandre Julliard --- dlls/dsound/sound3d.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/dsound/sound3d.c b/dlls/dsound/sound3d.c index 4f071258a2e..a3a5b418a03 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; }