dsound/tests: Test that the shifted frequency is limited to DSBFREQUENCY_MAX.
This commit is contained in:
parent
315e998951
commit
3d5f2f8796
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue