Commit Graph

111 Commits

Author SHA1 Message Date
Michael Stefaniuc e48f34906e mmdevapi/tests: Remove an 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-04 14:23:27 +02:00
Alex Henrie 5fcfff6e64 mmdevapi/tests: Relax capture test that sometimes fails on Windows 8.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:54 +01:00
Alex Henrie 473a4aaba2 mmdevapi/tests: Fix capture test that consistently fails on Windows 10.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Alex Henrie 10aa228ccc mmdevapi/tests: Fix memory leaks (Coverity).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-20 17:48:02 +01:00
Alistair Leslie-Hughes f6bd39f03e mmdevapi/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-07 19:48:32 +02:00
Andrew Eikum 25dbca10dc mmdevapi/tests: Fix failure on Vista.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-27 13:22:03 +09:00
Michael Stefaniuc 4f06fd1490 mmdevapi: Another use case for todo_wine_if().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 23:31:54 +09:00
Andrew Eikum ba858c28fd mmdevapi: Fix some DEVPKEY definitions.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 00:39:05 +09:00
Michael Stefaniuc d7b7bdae1d mmdevapi/tests: Make use of todo_wine_if().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 09:08:26 -05:00
Francois Gouget 847868fc87 mmdevapi/tests: Fix typos in a few ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:27:38 +09:00
Andrey Gusev de030f4028 mmdevapi/tests: Fix a typo in ok() messages.
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>
2016-06-04 13:37:40 +09:00
Francois Gouget d25af3c247 mmdevapi/tests: Use RegQueryValueExW() for compatibility with Windows XP.
RegGetValueW() was added later and should be avoided in the conformance tests.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-21 13:37:34 +09:00
Francois Gouget c79236b86e mmdevapi/tests: A spelling fix for a render ok() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-21 13:37:24 +09:00
Andrew Eikum 620cfe7e79 mmdevapi: Implement Set/GetMute.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-10 11:26:13 +09:00
Andrew Eikum 982d005da5 mmdevapi: Implement Set/GetMasterVolumeLevel.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-10 11:26:11 +09:00
Andrew Eikum 89de040e4f mmdevapi: Implement IAudioEndpointVolume::GetVolumeRange.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-10 11:26:09 +09:00
Andrew Eikum 69da3a24d2 mmdevapi/tests: Remove todo_wine on some tests for winepulse.
winepulse succeeds where other drivers fail. Avoid todo_wine failures
when running winepulse.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 12:25:31 +09:00
Alexandre Julliard bc9a95bb51 mmdevapi/tests: Avoid %ll printf format.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-01 22:53:51 +09:00
Andrew Eikum b1821266ca mmdevapi: Fix win10 test failures.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 23:02:01 +09:00
Huw Davies 42cbc05e59 mmdevapi/tests: Link against advapi32. 2015-06-09 22:09:58 +09:00
Andrew Eikum b55cc5e4c5 mmdevapi: Always use 64-bit registry keys. 2015-05-04 15:06:22 +09:00
Michael Stefaniuc 5f28bbcda3 mmdevapi/tests: Remove an unused assignment (PVS-Studio). 2015-03-06 20:32:00 +09:00
Alexandre Julliard 9f59a60968 mmdevapi/tests: Use float constants with fabsf. 2015-03-04 21:50:34 +09:00
Andrew Eikum d301254e72 mmdevapi: More accurately track device position. 2014-12-17 17:10:20 +01:00
Andrew Eikum b950b9a835 mmdevapi: Don't stop sending event signals after IAudioClient::Stop. 2014-06-30 10:32:36 +02:00
Andrew Eikum 0e84a59d89 mmdevapi: Clock rate should be in bytes for shared mode. 2014-05-19 16:01:07 +02:00
Andrew Eikum b634666e13 mmdevapi: Make buffer size divisible by number of periods. 2014-05-19 16:01:03 +02:00
Frédéric Delanoy d22a32b514 mmdevapi/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-29 14:50:50 +01:00
Frédéric Delanoy b0071852e8 mmdevapi/tests: Remove unused dbgstr_guid function. 2014-01-17 14:16:56 +01:00
André Hentschel 87c7c961f2 Assorted spelling fixes. 2014-01-06 17:33:24 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Andrew Eikum a5975bb601 mmdevapi: Fill buffer with silence in IAudioRenderClient::GetBuffer. 2013-11-12 19:06:09 +01:00
Andrew Eikum 37389cfc80 mmdevapi/tests: Update some error values for Windows 8.1. 2013-11-01 20:01:35 +01:00
Alexandre Julliard 7eebd74cb2 mmdevapi/tests: Mark a failing test as broken. 2013-10-17 14:00:17 +02:00
Michael Stefaniuc fc0c0be1a3 mmdevapi/tests: Compile with -D__WINESRC__. 2013-10-16 11:41:20 +02:00
Jeff Klein fabffe2b94 mmdevapi/tests: Add some tests for MMDevPropStore_GetAt. 2013-10-02 13:04:26 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Jeff Klein 0f4bc3b945 mmdevapi/tests: Test in-proc marshal of IAudioClient. 2013-08-02 11:34:54 +02:00
Stefan Leichter 5597252606 mmdevapi/tests: Fix a crash when function IMMDevice_Activate fails. 2013-07-11 15:53:50 +02:00
Jörg Höhle c771fe9231 mmdevapi/tests: Produce audible 16bit output too. 2013-02-21 19:16:28 +01:00
Jörg Höhle b18c5e811f mmdevapi: SetEventHandle is allowed only once. 2012-12-18 16:30:36 +01:00
Andrew Eikum 8d775ec09b mmdevapi: Implement (Un)RegisterEndpointNotificationCallback. 2012-12-15 16:33:25 +01:00
André Hentschel 20128a923a mmdevapi/test: Fix tests on win8. 2012-12-12 20:23:55 +01:00
Maarten Lankhorst d814eca3ba mmdevapi: Fix a broken test. 2012-10-18 19:31:52 +02:00
Jacek Caban 223105b9b3 mmdevapi: Use proper helpers for iface calls. 2012-08-15 12:18:39 +02:00
Andrew Eikum e6638bd86f mmdevapi: Store device interface in registry. 2012-04-06 20:12:05 +02:00
Maarten Lankhorst 27adecec49 mmdevapi: Add tests for checking events to capture. 2012-03-01 17:38:59 +01:00
Jörg Höhle 813d0432a9 mmdevapi/tests: Fix some render test failures. 2012-02-24 17:04:11 +01:00
Maarten Lankhorst 14b765aca5 mmdevapi: Fix exclusive test. 2012-02-20 11:44:32 +01:00
Jörg Höhle fde979b8b5 mmdevapi/tests: Perform renderer padding & position tests. 2012-02-11 15:13:17 +01:00