Akihiro Sagawa
cfbbde2abc
winmm/tests: Get rid of unused functions.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-01 22:17:20 +01:00
Akihiro Sagawa
158a9e7384
winmm: Get rid of TIME_SMPTE format support in waveOutGetPosition().
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-21 21:46:11 +01:00
Akihiro Sagawa
43158a173d
winmm/tests: Strictly test returned time format of waveOutGetPostion().
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-21 21:46:05 +01:00
Akihiro Sagawa
37f3a07831
winmm: Get rid of TIME_MS format support in waveOutGetPosition().
...
SofTalk (Japanese text-to-speech software) depends on this.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50515
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-21 21:45:58 +01:00
Akihiro Sagawa
aa56ee08f6
winmm/tests: Expect TIME_BYTES format for TIME_MS request.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-21 21:45:49 +01:00
Michael Stefaniuc
283c1be731
winmm: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-18 20:27:53 +01:00
Andrew Eikum
0239026bf3
winmm/tests: Test using a device handle in wave{In,Out}GetDevCaps and wave{In,Out}Open.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-08 20:52:14 +02:00
Alexandre Julliard
ef35796376
winmm/tests: Fix a constant conversion warning.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-17 16:55:16 +01:00
Alexandre Julliard
1c7312a0c6
winmm/tests: Fix printf format warnings for the Windows build.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:30 +02:00
Michael Stefaniuc
0388828edf
winmm/tests: Floating point numeric constants are by default doubles.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:33:55 +01:00
Fabian Maurer
7000af5547
winmm: Don't crash in waveOutOpen when nSamplesPerSec is 0 and add tests.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45530
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:00 +02:00
Michael Stefaniuc
b400d4326d
winmm/tests: Avoid and ARRAY_SIZE-like macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 17:06:04 +02:00
Louis Lenders
d7bd861ae6
winmm: Return error in waveOutMessage if either dwParam1 or dwParam2 is null.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 17:08:54 +02:00
Andrey Gusev
941d74a20a
winmm/tests: Fix memory leak.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 16:40:55 +01:00
Bruno Jesus
00046b816c
winmm: Fix the ordinal number for function PlaySound.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:47 +01:00
Nikolay Sivov
7deec68fd3
winmm/tests: Fixed a buffer leak (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 21:59:58 +09:00
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
Akihiro Sagawa
857b4dcda2
winmm/tests: Fix uninitialized memory access (Valgrind).
2015-05-07 22:29:23 +09:00
Akihiro Sagawa
563a4ff08b
winmm: Add .wav extension when searching for PlaySound.
2015-02-25 14:17:46 +09:00
Akihiro Sagawa
e808fb1962
winmm/tests: Add tests for PlaySound().
2015-02-25 14:17:43 +09:00
Andrew Eikum
cba322d71d
winmm: Allow larger MMTIME sizes.
2014-12-15 18:13:35 +01:00
Frédéric Delanoy
0f2bed51bd
Assorted spelling fixes.
2014-02-10 15:47:29 +01:00
Andrew Eikum
06c95af457
winmm: Also try MSACM conversions with WAVE_FORMAT_QUERY.
2013-11-19 11:08:22 +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
Frédéric Delanoy
b7b5c88750
winmm/tests: Use BOOL type where appropriate.
2013-10-14 10:44:45 +02:00
Andrew Eikum
d4560b0ce0
winmm/tests: Fix test that fails on NT4.
2013-05-31 19:16:00 +02:00
Andrew Eikum
ace442f3b7
winmm/tests: Only test non-mapper devices in interactive mode.
...
Other devices might be less reliable, but we should generally expect
WAVE_MAPPER to behave well. This also massively reduces test runtime,
depending on how many devices are present.
2013-04-29 11:41:59 +02:00
Andrew Eikum
dd0751ae83
winmm/tests: Add tests for non-block-aligned fragment sizes.
2013-03-11 13:38:39 +01:00
Andrew Eikum
db92670f97
winmm/tests: Add another valid return code.
2013-03-04 19:28:26 +01:00
Jörg Höhle
4f0743bffa
winmm: WAVE_OPEN_QUERY causes no WIM/WOM_OPEN notification.
2013-02-22 17:36:21 +01:00
Jörg Höhle
d4b2d48f24
winmm: More compatible waveIn/Out[Un]Prepare WHDR_* flag handling.
2013-02-13 17:19:43 +01:00
Andrew Eikum
b1d9d43af7
winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound.
2012-12-04 19:34:26 +01:00
Michael Stefaniuc
d94eaa3b20
winmm: Avoid TRUE FALSE conditional expressions.
2012-07-31 12:36:20 +02:00
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