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>
This commit is contained in:
parent
1671a83f55
commit
d961f5ac7e
|
@ -185,6 +185,7 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb)
|
||||||
default:
|
default:
|
||||||
TRACE("3D processing disabled\n");
|
TRACE("3D processing disabled\n");
|
||||||
/* this one is here only to eliminate annoying warning message */
|
/* this one is here only to eliminate annoying warning message */
|
||||||
|
dsb->volpan.lVolume = dsb->ds3db_lVolume;
|
||||||
DSOUND_RecalcVolPan (&dsb->volpan);
|
DSOUND_RecalcVolPan (&dsb->volpan);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue