Commit Graph

310 Commits

Author SHA1 Message Date
Bruno Jesus 4c46b3d091 winmm: Cope with empty string in mciSendString.
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-02 15:46:14 +01:00
Zebediah Figura 587098891e winmm/tests: Test for avivideo driver version.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-28 20:40:01 +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
Huw Davies ec6e47ddae winmm/tests: Remove a test that can crash on Win 8 and 10.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 11:50:17 +09:00
Huw Davies eeb70819eb winmm/tests: Add a small Sleep() to prevent a notification test from failing.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 11:50:14 +09:00
Huw Davies 5b622cfd84 winmm/tests: Call CoInitialize() to enable tests to run on Win 10.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 23:15:03 +09:00
Huw Davies 54f7a63845 winmm/tests: Pass the full size of MIDIHDR to midiOutPrepareHeader().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 22:18:34 +09:00
Bruno Jesus f2fa2448aa winmm/tests: Enumerate all joystick devices during the test.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-16 12:01:35 +09: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
Andrew Eikum d7cc002566 winmm: Restrict some MCI actions to the creating thread.
This reverts commit 46d5973961 and fixes
bug 38241 another way.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 15:25:46 +09:00
André Hentschel 4361a1f090 winmm/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 13:32:20 +09:00
Andrew Eikum 992e3c5dc8 winmm: Reset dwUser in mixerGetLineInfo.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:17:45 +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
Bruno Jesus 54ecab2479 winmm: Initialize struct MMIOINFO in MMIO_Open.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-25 15:17:47 +09:00
Frédéric Delanoy 91a4f41712 winmm/tests: Simplify conditional expression (PVS-Studio).
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-16 13:22:39 +09:00
Bernhard Übelacker c0646664d4 include: Fix packing of digitalv.h. 2015-08-03 10:56:16 +02:00
Akihiro Sagawa 857b4dcda2 winmm/tests: Fix uninitialized memory access (Valgrind). 2015-05-07 22:29:23 +09:00
Bruno Jesus 47ab17595b winmm/tests: Add a basic joystick interactive test. 2015-03-23 22:59:06 +09:00
Akihiro Sagawa 0221688cdd mciqtz32: Fix notify flag behavior. 2015-03-18 19:27:51 +09:00
Akihiro Sagawa e252489a98 winmm/tests: Add notify flag tests for MPEGVideo driver. 2015-03-18 19:27:43 +09:00
Akihiro Sagawa 7561375ede mciqtz: Implement MCI_DGV_SETAUDIO_VOLUME. 2015-03-06 00:02:03 +09:00
Akihiro Sagawa 6a41aeefe8 winmm/tests: Add MCI_SETAUDIO command tests. 2015-03-06 00:01:51 +09:00
Michael Stefaniuc d1162078ea winmm/tests: mmioAdvance() returns a MMRESULT and not a size (PVS-Studio). 2015-03-04 21:50:45 +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
Piotr Caban f6b46db1c7 winmm: Add RIFF creation tests. 2015-02-23 15:26:04 +09:00
Akihiro Sagawa 7b0d86514a mciqtz32: "status mode" returns resource strings. 2015-02-03 16:30:57 +09:00
Akihiro Sagawa 8f6650cb00 winmm/tests: Add MPEGVideo driver tests using a wave audio file. 2015-02-03 16:30:56 +09:00
Andrew Eikum bbc5244c0b winmm: Allow HMIXEROBJ handles in place of device IDs in mixerGetDevCaps. 2015-01-27 21:30:21 +01:00
Andrew Eikum cba322d71d winmm: Allow larger MMTIME sizes. 2014-12-15 18:13:35 +01:00
Bruno Jesus 2a5f5b89fd winmm/tests: Add joystick tests. 2014-12-11 11:59:39 +01:00
Akihiro Sagawa e2779a4c9a winmm: Don't call the custom MMIOM_SEEK handler while opening. 2014-09-01 21:10:12 +02:00
Akihiro Sagawa 4df26eefe6 winmm/tests: Add more tests for custom procedures. 2014-09-01 21:10:12 +02:00
Akihiro Sagawa 8d9a7247c3 winmm: Fix SEEK_END handling for memory files. 2014-06-16 18:03:18 +02:00
Akihiro Sagawa 71b8a56c84 winmm: Update lBufOffset after seeking file directly. 2014-06-16 18:03:13 +02:00
Akihiro Sagawa f7ddc1eb95 winmm: Avoid direct seeking for memory files. 2014-06-16 18:03:12 +02:00
Akihiro Sagawa c4629e5af5 winmm: Memory file buffer is available even if we just allocate memory. 2014-06-16 18:03:10 +02:00
Akihiro Sagawa 09a1f81cb4 winmm/tests: Activate some mmioSeek tests with todo_wine keyword. 2014-06-16 16:41:12 +02:00
Andrew Eikum a6bf8328fd winmm/tests: Accept MMSYSERR_ALLOCATED for more tests. 2014-03-25 19:05:10 +01:00
Francois Gouget d155df5c19 winmm/tests: Change the current directory to a place that will be writable. 2014-02-25 14:21:14 -06:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Michael Stefaniuc ff7ebba27f winmm/tests: Avoid spurious test failures on Windows. 2014-02-04 13:41:47 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +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 36638ef5f8 winmm/tests: Use a better type for the mixer object. 2013-11-04 11:05:25 +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
Michael Stefaniuc 3101b50121 winmm/tests: Fix the includes for generated.c. 2013-10-31 09:58:43 +01:00
Michael Stefaniuc e31d53616f winmm/tests: Use the explicit mciSendCommandA() version. 2013-10-31 09:58:43 +01:00