Eric Pouech
8e1b054be4
mmdevapi/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-03 21:30:35 +01:00
Rémi Bernon
32ee835d3c
mmdevapi/tests: Check that GetMixFormat returns an IEEE_FLOAT format.
...
And that a corresponding PCM format is supported.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-21 16:58:36 +01:00
Andrew Eikum
db87636c91
mmdevapi: Support older version of the AudioClientProperties structure.
...
Warframe when using a win10 prefix uses an xaudio2_9redist.dll which
uses the older AudioClientProperties structure (missing the Options
member).
Based on a patch by Alistair Leslie-Hughes.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-20 21:13:53 +01:00
Francois Gouget
7bc0cbc078
mmdevapi/tests: Work around Initialize() render breakage on Win 10.
...
Calling Initialize() twice causes later Start() operations to report a
failure on Windows 10 >= 1607.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-12 20:22:33 +01:00
Francois Gouget
8f956d4f3a
mmdevapi/tests: Only warn about the console when it is used.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-12 20:22:33 +01:00
Sven Baars
a66bb83191
mmdevapi/tests: Fix some test failures on Windows <= 7.
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 20:41:16 +02:00
Andrew Eikum
6314a75006
mmdevapi: Stub implement IAudioClient3.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-02 09:59:28 +02:00
Andrew Eikum
d8ae98d421
mmdevapi: Implement SetClientProperties.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-02 09:58:45 +02:00
Andrew Eikum
530c79fba2
mmdevapi: Implement IsOffloadCapable.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-02 09:58:42 +02:00
Andrew Eikum
370a538e54
mmdevapi: Stub implement IAudioClient2.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-02 09:58:40 +02:00
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
Francois Gouget
0cab8eb30d
mmdevapi/tests: Fix the spelling of ok() messages.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 11:47:58 +02:00
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
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
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
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
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
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
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
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
Michael Stefaniuc
fc0c0be1a3
mmdevapi/tests: Compile with -D__WINESRC__.
2013-10-16 11:41:20 +02:00
Jeff Klein
0f4bc3b945
mmdevapi/tests: Test in-proc marshal of IAudioClient.
2013-08-02 11:34:54 +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
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
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
Jörg Höhle
ac8360b3bf
mmdevapi/tests: Fix errors and crashes in various native configurations.
2012-02-09 09:39:23 -06:00
Jörg Höhle
f9f7048798
mmdevapi/tests: Produce audible output.
2012-02-09 09:39:09 -06:00
Jörg Höhle
4e323ec618
mmdevapi/tests: Add a worst-case XAudio2 fragment-size writes scenario.
2012-01-26 21:27:57 +01:00
Jörg Höhle
260c8ce9b4
mmdevapi/tests: Fix some test failures on native.
2012-01-10 18:29:04 +01:00
Jörg Höhle
31eb83359a
mmdevapi/tests: Add PCM format tests.
2011-11-18 15:37:05 +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
Alexandre Julliard
6c68319863
mmdevapi/tests: Don't crash on test failure.
2011-10-24 19:54:15 +02:00