Commit Graph

94 Commits

Author SHA1 Message Date
Andrew Eikum d022cc1ddf winmm: Support DRV_QUERYDEVICEINTERFACE in waveXxxMessage. 2012-04-06 20:12:21 +02:00
Andrew Eikum 6a6e1bd50e winmm: Support DRVM_MAPPER_PREFERRED_GET in waveXxxMessage. 2012-03-28 11:35:44 +02:00
Jörg Höhle 32c23cbc80 winmm/tests: Properly recover from the WAVERR_STILLPLAYING case. 2012-01-19 21:08:50 +01:00
Jörg Höhle 9ef4a0099c winmm: Fix conversion to MMTIME, avoid floating point arithmetic. 2012-01-05 21:27:34 +01:00
Michael Stefaniuc 5439aede62 include: Remove 'l' modifier from numeric constants in mmsystem.h. 2011-10-25 16:57:25 +02:00
Andrew Eikum e19be58e90 winmm: Handle DRV_QUERYMAPPABLE in waveXxxMessage. 2011-10-04 15:20:58 -05:00
Andrew Eikum 2754c75092 winmm: Perform Open and Close callbacks from client thread. 2011-07-18 18:31:24 +02:00
Andrew Eikum 79575d33ad winmm/tests: Remove uninteresting tests. 2011-06-29 10:23:01 -05:00
Austin English d583f12d8e winmm/tests: Remove dead assignment (LLVM/Clang). 2011-02-17 18:33:42 +01:00
Gerald Pfeifer eab579dfcb winmm/tests: Remove two unused variables (and dead code) from check_position. 2010-05-10 18:20:36 +02:00
Gerald Pfeifer 6a6749937b winmm/tests: Remove variable start which is not really used from wave_out_test_deviceOut. 2010-05-03 15:42:05 +02:00
Ken Thomases 8b086d6050 winmm/tests: Don't complain for Wine drivers that allow multiple wave-out opens. 2009-10-16 13:36:41 +02:00
Paul Vriens 55b3a9c906 winmm/tests: Fix some test failures in Win9x and WinMe. 2009-10-14 11:50:27 +02:00
Jörg Höhle ad75d9a217 winmm/tests: Correct (IMA)ADPCM test. 2009-10-06 16:13:17 +02:00
Gerald Pfeifer c4a0539a79 winmm: Use & instead of && for bit test in wave_out_test_deviceOut(). 2009-06-08 14:28:49 +02:00
Paul Vriens 1aa71ea39e winmm/tests: Remove an unreliable test. 2009-06-01 16:16:02 +02:00
Gerald Pfeifer d840311f24 winmm/tests: Fix test in wave_out_test_deviceOut(). 2009-05-25 14:25:50 +02:00
Michael Stefaniuc 8fde5bf807 winmm: Remove superfluous pointer casts. 2009-02-20 18:07:42 +01:00
Alexandre Julliard 9f32c0d9d6 winmm/tests: Assume volume is not supported if waveGetOutVolume fails. 2009-02-16 12:29:11 +01:00
Alexandre Julliard 3c68ba1bad winmm/tests: Don't test upper bound on sound duration, it's not guaranteed.
Also avoid infinite waits.
2009-02-11 15:56:03 +01:00
Alexandre Julliard 023df85183 winmm/tests: Increase the timing tolerances some more. 2009-01-20 14:02:12 +01:00
Alexandre Julliard 94d9cfadb0 winmm/tests: Fix handle casting warnings on 64-bit. 2009-01-03 20:15:25 +01:00
Alistair Leslie-Hughes aa50cd316c winmm: Increase tolerance range. 2008-11-12 11:49:12 +01:00
Paul Vriens 05c40e08a6 winmm/tests: Fix a test failure on Vista and W2K8. 2008-11-12 11:49:11 +01:00
Maarten Lankhorst 6a7127bfc2 winmm: Test opening the same device twice.
Behavioral test to show that wine winmm needs fixing.
2008-08-19 13:36:16 +02:00
Maarten Lankhorst 6589d9ab95 winmm: Use HeapAlloc in the wave test instead of using strdup. 2008-05-22 21:29:48 +02:00
Robert Reif fa9a26921c winmm: Fix a test failure on Windows with Terminal Server. 2008-04-25 11:28:57 +02:00
Alexandre Julliard edb91ce519 winmm/tests: Make sure the callback thread has a message queue. 2008-02-28 19:56:48 +01: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
Marcus Meissner 4d52a421d7 Made some functions static. 2006-12-12 12:10:57 +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
Robert Reif 2b3247a424 winmm: Always check for open and close enents in wave test.
Always check for open and close events.
Send WM_APP message to thread to terminate it rather than TerminateThread.
Fix CreateThread/waveOutOpen race by waiting for background thread to
run before waveOutOpen is called.
Add more non-hardware supported formats.  There is a bug in wave
mapper GetPosition when multiple headers are used and this helps
trigger it.
2006-05-31 11:45:22 +02:00
Robert Reif fe2becaee3 winmm: Add multiple header wave tests.
The current wave tests only use a single header for playback.  Tests
have been added to use multiple headers and to reuse them.  This is
how streaming applications and direct sound use the wave api.
2006-05-30 12:22:58 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Reif ed62b0150c winmm: Fix wave test handle use after close bug. 2006-05-20 14:00:22 +02:00
Robert Reif d1b838e948 winmm: Fix wave test volume warning.
Volume is only valid when sound card has volume support.
2006-05-11 12:10:45 +02:00
Robert Reif 9ff27bf6bc winmm: Print out more info on failed test.
Print out more info on failed test.  Looks like there is a bug in ALSA
OSS emulation where it is returning a mid-sample position.
2006-05-09 20:44:56 +02:00
Robert Reif a9bd81be63 winmm: Check waveOutGetVolume parameter. 2006-05-09 11:54:55 +02:00
Robert Reif 319633963d winmm: More wave callback tests.
Add tests for CALLBACK_FUNCTION and CALLBACK_THREAD.  The only
callback type not tested now is CALLBACK_WINDOW.
2006-05-08 14:49:11 +02:00
Robert Reif 274de441f7 Add waveOutPause/waveOutRestart test.
Tighten up play duration test when ending too soon.
Set VirtualFree size to 0.
2005-10-31 10:03:25 +00:00
Stefan Huehner 03cc8c4181 Remove some -Wstrict-prototypes warnings. 2005-06-17 10:11:37 +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 83d29a0761 Check wave out volume support. 2005-03-18 10:25:48 +00:00
Francois Gouget 9e53994abe Warn the user if he is running the test in interactive mode but the
sound is turned off.
2005-03-03 13:49:30 +00:00
Jeremy White 494a34bfda An interactive test should have volume, else a rational user will
decide it is broken.
2005-02-23 20:28:28 +00:00
Jeremy White 1b685779a4 When testing the WAVE_MAPPER device, it seems inappropriate (to me) to
demand WAVE_FORMAT_DIRECT; this fixes another slew of tests.
2005-02-23 12:42:43 +00:00
James Hawkins 993fbb94e0 Fix improper type-conversions. 2005-02-16 17:52:35 +00:00
Robert Reif 01d55a404b win 9x doesn't always support waveOutGetDevCapsW so don't generate an
error for MMSYSERR_NOTSUPPORTED.
Play one second of silence for each sound card when not in interactive
mode.
2004-10-26 21:18:27 +00:00