Commit ef2d8d8e authored by Anton Baskanov's avatar Anton Baskanov Committed by Alexandre Julliard

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

parent e7304f7d
......@@ -196,6 +196,8 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb)
/* this one is here only to eliminate annoying warning message */
dsb->volpan.lVolume = dsb->ds3db_lVolume;
DSOUND_RecalcVolPan (&dsb->volpan);
dsb->freq = dsb->ds3db_freq;
DSOUND_RecalcFormat(dsb);
return;
}
......
......@@ -1454,7 +1454,6 @@ static void test_doppler(GUID *guid, BOOL play)
check_doppler(dsound, listener, play, DS3DMODE_HEADRELATIVE, 0, -90, 1, -90, 22050, 29400);
/* Wine TODO: The frequency is not updated. */
check_doppler(dsound, listener, play, DS3DMODE_DISABLE, 0, 0, 1, -90, 22050, 22050);
IDirectSound3DListener_Release(listener);
......
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