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

dsound/tests: Test Doppler shift in head-relative mode.

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