Commit 3d5f2f87 authored by Anton Baskanov's avatar Anton Baskanov Committed by Alexandre Julliard

dsound/tests: Test that the shifted frequency is limited to DSBFREQUENCY_MAX.

parent 315e9989
......@@ -1449,6 +1449,10 @@ static void test_doppler(GUID *guid, BOOL play)
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 0, 1, -240, 22050, 44100);
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 0, 1, 240, 22050, 14700);
/* The shifted frequency is limited to DSBFREQUENCY_MAX. */
/* Wine TODO: The frequency is not limited. */
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 0, 1, -90, 176400, 200000);
IDirectSound3DListener_Release(listener);
ref = IDirectSoundBuffer_Release(primary);
ok(!ref, "Got outstanding refcount %ld.\n", ref);
......
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