Commit d961f5ac authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

dsound: Use the value from SetVolume when 3D processing is disabled.

parent 1671a83f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment