Module: wine Branch: master Commit: 8c26e7e592038dd6452cc174867d9ee909125d56 URL: https://gitlab.winehq.org/wine/wine/-/commit/8c26e7e592038dd6452cc174867d9ee...
Author: Anton Baskanov baskanov@gmail.com Date: Mon Apr 24 00:16:03 2023 +0700
dsound/tests: Test Doppler shift with moving listener.
---
dlls/dsound/tests/ds3d.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/dlls/dsound/tests/ds3d.c b/dlls/dsound/tests/ds3d.c index 5e6ba4d204e..bfd632f3a00 100644 --- a/dlls/dsound/tests/ds3d.c +++ b/dlls/dsound/tests/ds3d.c @@ -1441,6 +1441,12 @@ static void test_doppler(GUID *guid, BOOL play)
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 0, 0, -90, 22050, 22050);
+ /* The Doppler shift does not depend on the frame of reference. */ + /* Wine TODO: The frequency is too low. */ + check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 90, 1, 0, 22050, 29400); + /* Wine TODO: The frequency is too low. */ + check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, -90, 1, 0, 22050, 17640); + IDirectSound3DListener_Release(listener); ref = IDirectSoundBuffer_Release(primary); ok(!ref, "Got outstanding refcount %ld.\n", ref);