Module: wine Branch: master Commit: 3d5f2f879649d706bc17f6f6aea2723dba02602b URL: https://gitlab.winehq.org/wine/wine/-/commit/3d5f2f879649d706bc17f6f6aea2723...
Author: Anton Baskanov baskanov@gmail.com Date: Mon Apr 24 09:31:33 2023 +0700
dsound/tests: Test that the shifted frequency is limited to DSBFREQUENCY_MAX.
---
dlls/dsound/tests/ds3d.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/dsound/tests/ds3d.c b/dlls/dsound/tests/ds3d.c index e7e1ab7ab81..77d3f09ec13 100644 --- a/dlls/dsound/tests/ds3d.c +++ b/dlls/dsound/tests/ds3d.c @@ -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);