dsound/tests: Test that the Doppler shift is limited to +-0.5 speed of sound.
This commit is contained in:
parent
81feccb7e3
commit
8acc3b83e8
1 changed files with 6 additions and 0 deletions
|
@ -1445,6 +1445,12 @@ static void test_doppler(GUID *guid, BOOL play)
|
|||
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 90, 1, 0, 22050, 29400);
|
||||
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, -90, 1, 0, 22050, 17640);
|
||||
|
||||
/* The Doppler shift is limited to +-0.5 speed of sound. */
|
||||
/* Wine TODO: The frequency is not limited. */
|
||||
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 0, 1, -240, 22050, 44100);
|
||||
/* Wine TODO: The frequency is not limited. */
|
||||
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 0, 1, 240, 22050, 14700);
|
||||
|
||||
IDirectSound3DListener_Release(listener);
|
||||
ref = IDirectSoundBuffer_Release(primary);
|
||||
ok(!ref, "Got outstanding refcount %ld.\n", ref);
|
||||
|
|
Loading…
Add table
Reference in a new issue