Commit Graph

40 Commits

Author SHA1 Message Date
Jacek Caban 5dd670c7c5 dmusic/tests: Introduce compare_time helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:10:53 +02:00
Michael Stefaniuc 7daf030473 dmusic: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-22 10:20:46 +01:00
Zebediah Figura 6e3c9d6e49 dmusic: Implement the master clock object.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 09:20:02 +02:00
Zebediah Figura 78901fead4 dmusic/tests: Add some tests for the master clock.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 09:19:50 +02:00
Sven Baars e2ac7d4d9b dmusic/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-23 16:32:04 +01:00
Michael Stefaniuc 8e0f94986e dmusic: Reimplement ParseDescriptor() for DirectMusicCollection.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 09:16:21 +02:00
Michael Stefaniuc c4e998d0e3 dmusic/tests: Add IDirectMusicObject::ParseDescriptor() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:54:20 +01:00
Alistair Leslie-Hughes 24463315ba dmusic/tests: Use standard wine_dbgstr_longlong.
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>
2017-07-03 15:57:45 +02:00
Michael Stefaniuc 40a4a5c7bf dmusic: Fail in CreatePort() if SetDirectSound() wasn't called.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 18:01:54 +02:00
Michael Stefaniuc 62bf20783c dmusic: Remove the port from the ports list on the port destruction.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 18:01:49 +02:00
Michael Stefaniuc 43b3f844ba dmusic: Add dsound handling to the synth port Activate() method.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:16:13 -05:00
Michael Stefaniuc f968edb988 dmusic: Partially implement the synth IDirectMusicPort::SetDirectSound().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:16:10 -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 251d1c0b86 dmusic/tests: Expand the dsound refcount testing with the port.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:15:45 -05:00
Michael Stefaniuc cf943820eb dmusic/tests: Add some IDirectMusic_SetDirectSound() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-05 10:13:22 +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 883fe110ea dmusic: Support the IKsControl interface for the synth port.
Based on a patch by Michael Müller.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:21 +02:00
Michael Stefaniuc 1dc5cc3470 dmusic/tests: Add basic COM tests for IDirectMusicPort.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:14 +02:00
Michael Stefaniuc f897757865 dmusic/tests: Remove an unused assigment (PVS-Studio). 2015-01-15 14:06:00 +01:00
Michael Stefaniuc 3115e49017 dmusic/tests: Test unimplemented IPersistStream methods in DMCollection. 2014-06-11 12:59:10 +02:00
Frédéric Delanoy 5e6f0e93fa dmusic/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:44:56 +01:00
Michael Stefaniuc dc9208a0c5 dmusic/tests: Add some DirectMusicCollection tests. 2014-01-06 17:10:03 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Michael Stefaniuc 393135c3c7 dmusic/tests: Change the way of detecting a workable dmusic. 2014-01-02 11:52:44 +01:00
Michael Stefaniuc 7474a37050 dmusic/tests: Don't crash with old dmusic versions. 2013-12-31 12:23:04 +01:00
Michael Stefaniuc 0c4b3514a5 dmusic/tests: Add some COM tests for IDirectMusic/IDirectMusicCollection. 2013-12-30 19:01:43 +01:00
Michael Stefaniuc 645ca7504e dmusic/tests: Centralize the skip(). 2013-12-30 19:01:42 +01:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Christian Costa 6ebf13960b dmusic: Add master clock tests. 2012-09-24 22:27:47 +02:00
Christian Costa 9f05f54540 dmusic: Midi message takes 4 bytes space but only 3 are relevant. 2012-05-07 17:16:34 +02:00
Christian Costa 0eaf5c156b dmusic: Add tests to enumerate master clocks. 2012-05-02 13:02:01 +02:00
Christian Costa 09a2dd6a3f dmusic: Implement IDirectMusicBuffer_GetStartTime and IDirectMusicBuffer_SetStartTime. 2012-04-27 17:08:14 +02:00
Christian Costa 5c5ed245aa dmusic: IDirectMusicBufferImpl_GetUsedBytes. 2012-04-27 17:08:01 +02:00
Christian Costa fbd0aba739 dmusic: Implement IDirectMusicBufferImpl_PackStructured. 2012-04-27 17:07:52 +02:00
Christian Costa 51942db811 dmusic: Handle GUID_NULL when creating IDirectMusicBuffer. 2012-04-27 17:07:12 +02:00
Christian Costa 0a588385fb dmusic: Add tests for IDirectMusicBuffer. 2012-04-27 17:07:04 +02:00
Marcus Meissner af5c45aac0 dmusic: Remove useless NULL check (Coverity). 2012-04-16 12:07:32 +02:00
Christian Costa c05c04952e dmusic: Check wrong params when creating a port + tests. 2012-04-11 19:10:26 +02:00
Andrew Eikum 47ce8c9755 dmusic: Support creating default ports with GUID_NULL. 2012-03-30 17:33:43 +02:00
Christian Costa 997be9c465 dmusic: Add some tests for enumerating and creating ports. 2012-03-29 20:50:23 +02:00