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

dsound: Change the speed of sound to 360.

parent 24fa177c
......@@ -49,8 +49,8 @@
#include "dsound.h"
#include "dsound_private.h"
/* default velocity of sound in the air */
#define DEFAULT_VELOCITY 340
/* according to the tests, native uses 360 as the speed of sound */
#define DEFAULT_VELOCITY 360
WINE_DEFAULT_DEBUG_CHANNEL(dsound3d);
......
......@@ -1436,9 +1436,7 @@ static void test_doppler(GUID *guid, BOOL play)
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 0, 1, 0, 22050, 22050);
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, -90, 1, -90, 22050, 22050);
/* Wine TODO: The frequency is slightly off. */
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 0, 1, -90, 22050, 29400);
/* Wine TODO: The frequency is slightly off. */
check_doppler(dsound, listener, play, DS3DMODE_NORMAL, 0, 0, 1, 90, 22050, 17640);
IDirectSound3DListener_Release(listener);
......
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