Andrew Eikum : dsound: Use the value from SetVolume when 3D processing is disabled.
Alexandre Julliard
julliard at winehq.org
Mon Jan 2 14:03:53 CST 2017
Module: wine
Branch: master
Commit: d961f5ac7e75ccb1a5aac4f20596bf954f2d8500
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d961f5ac7e75ccb1a5aac4f20596bf954f2d8500
Author: Andrew Eikum <aeikum at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
}
More information about the wine-cvs
mailing list