Robert Reif
2e44a3b2a2
dsound: Fix tests for old versions of windows.
2007-01-16 11:19:30 +01:00
Francois Gouget
42d25ef95d
dsound/tests: The tests link with dsound.dll so use GetModuleHandle() instead of LoadLibrary().
2007-01-12 11:25:06 +01:00
Francois Gouget
cc1cb0ad8e
dsound/tests: Remove unneeded NONAMELESS* macros.
2006-11-24 11:48:50 +01:00
Francois Gouget
30e44c85c8
Assorted spelling fixes.
2006-11-07 15:25:24 +01:00
Michael Stefaniuc
65aac34c56
dsound/tests: Win64 printf format warning fixes.
2006-10-10 11:56:56 +02:00
Francois Gouget
be87fe8c7c
dsound: Don't use state.buffer_size before it has been initialized.
2006-09-29 17:53:31 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Reif
a15ef7b18a
dsound: Add DirectSoundBuffer_Lock tests.
2006-05-05 17:29:23 +02:00
Robert Reif
c460d9becf
dsound: Add info to failed tests.
...
Print format for failed SetFormat calls.
2006-03-15 11:30:17 +01:00
Robert Reif
c82a63ba97
dsound: Primary buffer size change tests.
...
It looks like Windows doesn't change the primary buffer length when
changing formats so make the tests fail now.
This means the current ALSA implementation is broken when hardware
acceleration is set to full and the primary buffer format is changed.
2006-01-17 16:19:54 +01:00
Robert Reif
54cf8ea1ac
dsound: Add primary buffer change tests.
...
Add tests to figure out whether Windows can change the primary buffer
capabilities after setting the buffer format. Based on a patch by Alex
Villacís Lasso.
2006-01-11 12:12:46 +01:00
Robert Reif
b2d604a9da
dsound: Fix double free bug in tests.
...
Fix double free in tests. Only happens in interactive mode when
testing duplicated 3D buffers.
2006-01-06 12:16:41 +01:00
Mike O'Regan
5fd4aa6fc4
Tests commented out and FIXME-ed long ago now pass.
2005-10-11 19:57:17 +00:00
Alexandre Julliard
f8ee161a1b
Fixed some traces to use the right printf format and avoid typecasts.
2005-09-12 10:30:05 +00:00
Mike McCormack
6dc69f5f54
Fix gcc 4.0 warnings.
2005-09-02 12:26:21 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Robert Reif
7d9340b864
Fix tests to work with drivers that don't support a primary buffer.
2005-06-05 17:55:08 +00:00
Robert Reif
c3f06fb2e6
Print dsound.dll version from file versioninfo resource.
2005-03-05 10:49:08 +00:00
Robert Reif
3cab60997f
Fix tests for win9x and old versions of DirectX.
2005-02-23 12:43:38 +00:00
Robert Reif
b8d6b310f9
Fixed invalid buffer size by rounding up to next multiple of
...
nBlockAlign.
Added test to verify buffer rounding behavior.
2005-02-16 16:09:02 +00:00
Francois Gouget
9ee0586cfb
Don't link with DirectSoundCreate8 as this prevents running with older
...
versions of DirectX.
2005-02-10 21:21:13 +00:00
Robert Reif
50dc513b0f
Print info about primary buffer format.
2005-02-10 20:26:20 +00:00
Robert Reif
202c28f8b8
Remove unneeded includes.
2005-01-10 12:25:56 +00:00
Robert Reif
56dbf7fb21
Initialize and uninitialize COM properly.
2005-01-09 16:34:00 +00:00
Robert Reif
b80d1d5d92
Don't consider a device that is already in use a test failure.
2004-10-21 19:51:10 +00:00
Robert Reif
3dcbaaa4cc
Don't consider failure with DSERR_NODRIVER a test failure.
2004-10-19 21:10:41 +00:00
Robert Reif
097e281294
Fix some places where no driver present causes problems.
2004-10-18 19:36:42 +00:00
Francois Gouget
7c89759e88
Make the dsound tests run with DirectX < 8.
2004-09-08 19:08:14 +00:00
Robert Reif
f01b871898
DirectSound8 doesn't accept 3D stereo secondary buffers but
...
DirectSound does.
Added tests.
2004-08-25 02:09:00 +00:00
Robert Reif
1bd7986c93
Only print format info when in interactive mode for capture test.
...
Cleanup error and info messges.
2004-08-23 17:50:31 +00:00
Robert Reif
cae33167d2
Cleanup some more messages.
2004-08-18 00:30:12 +00:00
Robert Reif
9d5b0873a0
More dsound tests error message cleanups.
...
Only display verbose information when in interactive mode.
2004-08-13 19:44:29 +00:00
Hans Leidekker
dbb3e14748
Fix signed/unsigned comparison warnings.
2004-08-09 18:52:18 +00:00
Robert Reif
4c3d661781
Refactored common test code into subroutines.
...
Added tests for correct Compact behavior.
Added tests for all possible IDirectSound[8] creation modes with good
and bad arguments.
Split dsound.c and ds3d.c into separate files for IDirectSound and
IDirectSound8 interfaces and added code to not execute IDirectSound8
tests when run with a dsound.dll of version 7 or earlier. We should
now be able to run these tests on a Windows system with DX7 or earlier
(untested).
2004-07-30 18:42:51 +00:00