Nikolay Sivov
b22fa89dac
winmm/tests: Remove unreliable tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 13:22:51 +09:00
Nikolay Sivov
062bbb91a7
winmm: Initialize reserved fields of data returned by waveOutGetDevCapsA and waveInGetDevCapsA (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 22:19:29 +09:00
Andrew Eikum
a6bf8328fd
winmm/tests: Accept MMSYSERR_ALLOCATED for more tests.
2014-03-25 19:05:10 +01:00
Frédéric Delanoy
0f2bed51bd
Assorted spelling fixes.
2014-02-10 15:47:29 +01:00
Michael Stefaniuc
6d7bd62a73
winmm/tests: Compile with -D__WINESRC__.
2013-11-04 11:05:40 +01:00
Michael Stefaniuc
a749f27ab3
winmm/tests: Use the explicit CreateEventW() and don't bother testing it.
2013-11-04 11:05:16 +01:00
Andrew Eikum
35e4aac8f6
winmm/tests: Fix waveInGetPosition type.
...
We're comparing the reported value against dwBytesRecorded, so we should
request the value to be in bytes.
2013-07-27 11:56:24 -05:00
Andrew Eikum
d4560b0ce0
winmm/tests: Fix test that fails on NT4.
2013-05-31 19:16:00 +02:00
Andrew Eikum
db92670f97
winmm/tests: Add another valid return code.
2013-03-04 19:28:26 +01:00
Andrew Eikum
6a6e1bd50e
winmm: Support DRVM_MAPPER_PREFERRED_GET in waveXxxMessage.
2012-03-28 11:35:44 +02:00
Michael Stefaniuc
5439aede62
include: Remove 'l' modifier from numeric constants in mmsystem.h.
2011-10-25 16:57:25 +02:00
Andrew Eikum
0d567ff9f8
winmm: Also track input device position.
2011-10-12 17:07:01 +02:00
Andrew Eikum
79575d33ad
winmm/tests: Remove uninteresting tests.
2011-06-29 10:23:01 -05:00
Alexandre Julliard
ddac146e7d
winmm/tests: Fix some tests that fail on Windows with no input device.
2010-09-22 18:58:46 +02:00
Gerald Pfeifer
d623f0045a
winmm: Remove variables duration and samples which are not really used from check_position.
2010-04-26 07:03:04 -05:00
Alexandre Julliard
94d9cfadb0
winmm/tests: Fix handle casting warnings on 64-bit.
2009-01-03 20:15:25 +01:00
Paul Vriens
47dddefbb2
winmm/tests: Fix a test failure on Vista and W2K8.
2008-11-07 13:56:08 +01:00
Dan Kegel
b608e39e1f
winmm: Use HeapAlloc in the capture test instead of using strdup.
2008-05-26 19:46:23 +02:00
Michael Stefaniuc
d14da0763d
winmm: Replace malloc with HeapAlloc.
2007-06-26 11:58:06 +02:00
Francois Gouget
9279edfb03
winmm/tests: Replace some '#if 0's with 'if (0)'s.
...
Fix the code so it compiles without warnings.
2007-01-12 11:24:33 +01:00
Michael Stefaniuc
8f0f9371a8
winmm/tests: Win64 printf format warning fixes.
2006-11-13 12:49:27 +01:00
Alexandre Julliard
82a404a077
winmm/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:04:07 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Stefan Huehner
863a4b1488
Fix some more -Wstrict-prototypes warnings.
2005-06-21 20:53:13 +00:00
Robert Reif
ed8cf4e3a9
Changed regression test to make sure position is correctly checked
...
when a different type is returned.
Added Jeremy White's WAVE_FORMAT_DIRECT/WAVE_MAPPER fix.
Added waveInGetPosition checks.
2005-04-11 12:49:22 +00:00
Robert Reif
53e5799949
Don't consider a MMSYSERR_NOTSUPPORTED failure a test failure.
2004-11-03 22:13:44 +00:00
Robert Reif
c67bfb2895
Don't consider no driver a test failure.
2004-10-25 21:46:12 +00:00
Robert Reif
9c8dd0a294
Don't consider MMSYSERR_NOTSUPPORTED an error for wide functions.
2004-10-18 23:14:54 +00:00
Francois Gouget
4b0cb7d581
Don't include 'mmddk.h', it's not needed. The winmm tests can now be
...
compiled on Windows without the DDK.
2004-08-31 17:33:03 +00:00
Robert Reif
1e82007cae
Test 32 bit float samples.
2004-08-30 18:36:06 +00:00
Francois Gouget
dff5004bc0
Assorted spelling fixes.
2004-08-26 00:31:20 +00:00
Robert Reif
4e64906797
Added 32 bit sample size tests and 4 and 6 channel tests.
2004-08-19 01:13:58 +00:00
Francois Gouget
e07608064a
Play back what has been recorded when in interactive mode so that the
...
user can verify that the recording is correct.
2004-08-02 22:29:02 +00:00
Robert Reif
6fb51fc072
Test waveInGetDevCapsW.
2004-07-23 19:05:49 +00:00
Robert Reif
3aab82079e
Removed 11 bit sample size capture test because at least 2
...
manufacturers sound cards on two different OSs seem to support this.
Added some invalid parameter checks to wave[In,Out]GetDevCaps.
One test is commented out because wine doesn't handle it properly.
Minor info printing cleanup.
2004-06-14 17:54:45 +00:00
Robert Reif
7bd78fe59a
Treat WAVE_MAPPER as a real device and performs all tests on it.
...
Added 16000Hz because win9x hardware spec requires it.
2004-06-04 17:58:00 +00:00
Robert Reif
458cf0bd6d
Added another possible windows failure mode.
2004-06-01 19:40:00 +00:00
Robert Reif
a6e8430a23
Added WAVE_MAPPED flag test.
...
Added 8000 Hz test as a typically supported format.
Added 12000 Hz test as a typically unsupported format.
Test error reporting better by testing unsupported formats.
Test using PCMWAVEFORMAT in place of WAVEFORMATEX.
2004-05-27 20:00:26 +00:00
Robert Reif
b0d62bb73f
Fixed a bug I introduced in waveInGetDevCapsA(WAVE_MAPPER) test.
...
Moved format structure array to header file and restored
NB_WIN_FORMATS macro to calculate array size.
Added more error results and used macro as suggested by Andreas Mohr.
Cleaned up error result printing to be more consistent.
2004-05-21 20:53:45 +00:00
Francois Gouget
c3b8ce939b
Split off the winmm capture test.
2004-05-20 01:39:47 +00:00