Alistair Leslie-Hughes
b075088ec5
dmime: IDirectMusicPerformance8 GetGraph return DMUS_E_NOT_FOUND if graph not set.
...
Just ensure the pointer and return value are correct from GetGraph. I plan
to extend these tests at a later date. The tests also show that IDirectMusicPerformance8
has a internal IDirectMusicGraph implementation, returned via QueryInterface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 12:09:38 +01:00
Michael Stefaniuc
d3a0cd77d8
dmime: Implement IDirectMusicPerformance8_PChannelInfo().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:54:55 +01:00
Michael Stefaniuc
3dd2912874
dmime: Create a port in the perf CreateStandardAudioPath().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:54:53 +01:00
Michael Stefaniuc
67f55f9b13
dmime/tests: Move some ok() calls to make it clear what is being tested.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:54:47 +01:00
Michael Stefaniuc
5b96ed0207
dmime/tests: Destroy the performance on an error path (Valgrind).
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=36272
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-06 20:52:33 +01:00
Michael Stefaniuc
296a1eb77b
dmime/tests: Add PChannel tests.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-20 10:32:34 +01:00
Francois Gouget
a83cbafce5
dmime/tests: Fix the spelling of a performance ok() message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:26 +01:00
Alistair Leslie-Hughes
7d954f2335
dmime/tests: Break out of loop if we fail to get segment pointer.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-04 23:16:25 +02:00
Alistair Leslie-Hughes
15bf3eee2c
dmime/tests: Add a notification_type test.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 22:58:07 +02:00
Michael Stefaniuc
6b76648a8b
dmime/tests: Test the return value of IDirectMusic_SetDirectSound().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-05 22:10:47 +01:00
Sven Baars
8f3a474655
dmime/tests: Fix a memory leak (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 21:38:10 +01:00
Michael Stefaniuc
14f899317a
dmime: Initialize dmusic in InitAudio().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 18:01:53 +02:00
Michael Stefaniuc
195280bee3
dmime/tests: Add refcount test for generated dmusic/dsound.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc
36a88d2841
dmusic: Implement IDirectMusic8::SetDirectSound().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:16:00 -05:00
Michael Stefaniuc
f221298e61
dmime/tests: Add more InitAudio() tests.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 17:25:58 +02:00
Michael Stefaniuc
a306577803
dmime/tests: Use simpler variable names in test_InitAudio().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 17:25:55 +02:00
Nikolay Sivov
f0fb2f16ca
dmusic/tests: Use void* instead of void** type value for outer argument.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 20:30:30 +02:00
Michael Stefaniuc
232aeb6b20
dmime/tests: Rather test for IDirectMusicObject as invalid iface.
2014-06-11 19:15:20 +02:00
Frédéric Delanoy
cd4cd76614
dmime/tests: Use common wine_dbgstr_guid implementation from test.h.
2014-01-28 11:44:50 +01:00
Michael Stefaniuc
d4861c07c4
dmime/tests: Move the unrelated COM test out of performance.c.
2014-01-10 12:07:44 +01:00
Andrew Eikum
629e857c2e
dmime: Don't try to create a standard audio path if the client didn't ask for one.
2012-04-19 12:00:52 +02:00
Michael Stefaniuc
edcf723bab
dmime/tests: Add some COM tests for DirectMusicSegment.
2012-04-06 20:14:29 +02:00
Michael Stefaniuc
2259da712e
dmime/tests: Add some COM tests for IDirectMusicPerformance.
2012-04-02 12:41:12 +02:00
Andrew Eikum
47ce8c9755
dmusic: Support creating default ports with GUID_NULL.
2012-03-30 17:33:43 +02:00
Alexandre Julliard
730f01801f
tests: Make some variables static.
2010-10-01 13:41:42 +02:00
Austin Lund
5b27cdf93b
dmime: Ensure IDirectMusicPort is initialised when calling IDirectMusicPerformance::PChannelInfo.
2010-08-16 17:28:55 +02:00
Austin Lund
203272eafa
dmime/tests: Added tests for IDirectMusicPerformance.
2010-08-16 17:28:55 +02:00