Commit Graph

35 Commits

Author SHA1 Message Date
Andrew Eikum 227c47e7a0 mmdevapi: Return E_INVALIDARG for invalid share mode argument.
Matches Windows 10 behavior.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-27 19:16:56 +01:00
Andrew Eikum 3c1ee2f80d mmdevapi: Set data pointer to NULL on IAudioCaptureClient::GetBuffer failure.
Matches Windows 10 behavior.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-27 19:16:53 +01:00
Andrew Eikum 90f53193ff mmdevapi/tests: Use discontinuity flag to detect broken win7 behavior.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-27 19:16:50 +01:00
Andrew Eikum ba340e741a mmdevapi/tests: Avoid race condition in capture test.
These tests depended on no data being put into the buffer between calls
to Start() and GetBuffer().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47876
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-27 19:16:45 +01: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
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
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
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
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
Alexandre Julliard 9f59a60968 mmdevapi/tests: Use float constants with fabsf. 2015-03-04 21:50:34 +09:00
Andrew Eikum b950b9a835 mmdevapi: Don't stop sending event signals after IAudioClient::Stop. 2014-06-30 10:32:36 +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
André Hentschel 20128a923a mmdevapi/test: Fix tests on win8. 2012-12-12 20:23:55 +01:00
Jacek Caban 223105b9b3 mmdevapi: Use proper helpers for iface calls. 2012-08-15 12:18:39 +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 f24b31fcf2 mmdevapi/tests: Perform capture protocol tests in shared mode. 2012-01-26 21:27:54 +01:00
Jörg Höhle 7480dc0af1 mmdevapi/tests: Prevent crash when device is in use. 2011-11-14 17:39:31 +01:00
Jörg Höhle 8e62e823d6 mmdevapi/tests: Fix errors and crashes in various native configurations. 2011-10-28 12:49:50 +02:00
Andrew Eikum 0085689f5d mmdevapi: Implement ISimpleAudioVolume::{Set, Get}Mute. 2011-06-20 19:31:57 +02:00
Andrew Eikum 8c41caaa20 mmdevapi/tests: Add tests for volume control interfaces. 2011-05-10 14:04:55 +02:00
Andrew Eikum 631d834022 mmdevapi/tests: Make capture.c more easily extendible. 2011-05-09 11:59:03 +02:00
Austin English aba65017d7 mmdevapi/tests: Increase timeout in capture tests. 2010-11-23 14:16:21 +01:00
Henri Verbeet 5c99f4ec6d mmdevapi: Remove the useless CINTERFACE definitions. 2010-08-17 11:55:33 +02:00
Octavian Voicu 8d48b74555 mmdevapi/tests: Prevent crash when GetMixFormat fails. 2010-07-30 11:36:03 +02:00
Francois Gouget 7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00
Maarten Lankhorst f062e1b127 mmdevapi: Add audio capture code. 2010-04-20 17:40:21 +02:00
Maarten Lankhorst a94395f502 mmdevapi: Implement some methods in audioclient. 2010-04-20 17:37:58 +02:00
Maarten Lankhorst fa202c52c3 mmdevapi: Add initial audioclient stub. 2010-04-20 17:35:36 +02:00
Alexandre Julliard aed8b8cd8d mmdevapi/tests: Mark some failing tests as todo. 2010-04-06 14:27:56 +02:00
Maarten Lankhorst a9e43cad15 mmdevapi: Add capture tests. 2010-03-30 14:49:31 +02:00