Commit Graph

159 Commits

Author SHA1 Message Date
Michael Stefaniuc b49cab9a17 dmstyle: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-23 22:25:57 +02:00
Michael Stefaniuc dc0725c766 dmstyle: Remove an unused impl_from_ helper.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Michael Stefaniuc 55587efd3a dmstyle: Reimplement ParseDescriptor() for DirectMusicStyle.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 09:16:31 +02:00
Michael Stefaniuc 7028142771 dmusic: Sync up the dmobject.[ch] files.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 09:16:19 +02:00
Michael Stefaniuc 7b5668a6e7 include: Make ARRAY_SIZE() available in wine/test.h.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:17 +02:00
Michael Stefaniuc 6fd5bce038 dmstyle/tests: Avoid a clang warning.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 04:40:57 -06:00
Michael Stefaniuc ff4a81b47a dmstyle/tests: Add IDirectMusicObject::ParseDescriptor() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:27:08 +01: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 4f2a92328e dmstyle: Remove a not very useful macro.
The memory is already zeroed on allocation.
2015-07-07 17:16:35 +09:00
Michael Stefaniuc 0ab95a1ec4 dmstyle: Remove an unused variable. 2015-07-07 17:16:31 +09:00
Michael Stefaniuc 396dd9d141 dmstyle/tests: Remove skips wrongly copied from the dmime tests. 2015-07-02 19:16:12 +09:00
Michael Stefaniuc 40769b4fad dmstyle: Mark IPersistStream_Save() as stub. 2015-07-01 19:18:24 +09:00
Michael Stefaniuc 2026a21525 dmstyle: Use the generic IPersistStream for DMStyleTrack. 2015-07-01 19:18:24 +09:00
Michael Stefaniuc f143c16bb8 dmstyle: Remove the extraneous IUnknown from DMStyleTrack. 2015-07-01 19:18:24 +09:00
Michael Stefaniuc 465753e947 dmstyle: COM cleanup for IDirectMusicTrack8 of DMStyleTrack. 2015-07-01 19:18:23 +09:00
Michael Stefaniuc 0248befa25 dmstyle: Use the generic IPersistStream for DMChordTrack. 2015-07-01 19:18:23 +09:00
Michael Stefaniuc 9a653533d3 dmstyle: Remove the extraneous IUnknown from DMChordTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-01 19:18:22 +09:00
Michael Stefaniuc 6495c2b658 dmstyle: COM cleanup for IDirectMusicTrack8 of DMChordTrack. 2015-07-01 19:18:22 +09:00
Michael Stefaniuc 819d25a717 dmstyle: Use the generic IPersistStream for DMCommandTrack. 2015-07-01 19:18:22 +09:00
Michael Stefaniuc 28b606b0f3 dmstyle: Remove the extraneous IUnknown from DMCommandTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-01 19:18:21 +09:00
Michael Stefaniuc 29e9988bf0 dmstyle: COM cleanup for IDirectMusicTrack8 of DMCommandTrack. 2015-07-01 19:18:21 +09:00
Michael Stefaniuc 040b398997 dmstyle: Pass objects instead of ifaces to helpers. 2015-07-01 19:18:21 +09:00
Michael Stefaniuc 699efa6f3e dmstyle: Use the generic IPersistStream for DMMotifTrack. 2015-06-30 17:40:27 +09:00
Michael Stefaniuc c1647cbbef dmstyle: Remove the extraneous IUnknown from DMMotifTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-06-30 17:40:27 +09:00
Michael Stefaniuc 1d2bc65c94 dmstyle: COM cleanup for IDirectMusicTrack8 of DMMotifTrack. 2015-06-30 17:40:27 +09:00
Michael Stefaniuc 6c057b03da dmstyle: Use the generic IPersistStream for DMAuditionTrack. 2015-06-30 17:40:27 +09:00
Michael Stefaniuc 6f9f3db32c dmstyle: Remove the extraneous IUnknown from DMAuditionTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-06-30 17:40:27 +09:00
Michael Stefaniuc 55a085f5e8 dmstyle: COM cleanup for IDirectMusicTrack8 of DMAuditionTrack. 2015-06-30 17:40:27 +09:00
Michael Stefaniuc 2387bbfe3b dmstyle: Use the generic IPersistStream for DMMuteTrack. 2015-06-30 17:40:26 +09:00
Michael Stefaniuc 43c9f3a0bc dmstyle: Remove the extraneous IUnknown from DMMuteTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-06-30 17:40:26 +09:00
Michael Stefaniuc c0b7fe8027 dmstyle: COM cleanup for IDirectMusicTrack8 of DMMuteTrack. 2015-06-30 17:40:26 +09:00
Michael Stefaniuc b2ff03ed03 dmstyle/tests: Add some basic DirectMusicTrack8 tests. 2015-06-30 17:40:26 +09:00
Michael Stefaniuc 02412469fb dmstyle: Implement the E_NOTIMPL methods of IDirectMusicTrack8. 2015-06-30 17:40:26 +09:00
Michael Stefaniuc 809b8604e9 dmstyle: Remove unused DirectMusicMelodyFormulationTrack stuff. 2015-06-29 19:07:47 +09:00
Michael Stefaniuc 0b4bc2f965 dmstyle: Move struct definitions to the files that need them. 2015-06-29 19:07:46 +09:00
Michael Stefaniuc ed48ffdfae dmstyle: IsParamSupported method doesn't crashes on NULL. 2015-06-26 20:35:04 +09:00
Michael Stefaniuc 19b9c8fdb7 dmstyle/tests: Add IPersistStream tests for DM*Track. 2015-06-16 20:00:36 +09:00
Bruno Jesus 45f14218f7 dmstyle: Don't fake success on IDirectMusicUtils_IPersistStream_ParseReference. 2015-06-11 14:41:24 +09:00
Michael Stefaniuc 3ebf41cc42 dmstyle: Use the generic DirectMusicObject implementation for DMStyle. 2015-06-11 14:41:20 +09:00
Michael Stefaniuc b8149561ec dmstyle: Pass the object instead of the iface to helper functions. 2015-06-11 14:41:11 +09:00
Michael Stefaniuc 774aad743c dmstyle: Remove unused arguments from helper functions. 2015-06-11 14:41:07 +09:00
Michael Stefaniuc 277b09059c dmstyle/tests: Remove unused assigments (PVS-Studio). 2015-01-15 14:05:58 +01:00
Michael Stefaniuc e22458c224 dmstyle: Move a struct definition to the .c file that uses it. 2014-06-11 19:15:24 +02:00
Michael Stefaniuc 834bae9935 dmstyle/tests: Test some IPersistStream methods of DMStyle. 2014-06-11 12:59:15 +02:00
Alexandre Julliard 7d3559bfe9 dxguid: Remove some symbols that aren't exported in native. 2014-04-24 12:41:38 +02:00
Michael Stefaniuc 97428376ef dmstyle: Remove the extraneous IUnknown from DirectMusicStyle8.
Also lock/unlock the module only on creation/destruction of the object.
2014-01-29 12:39:17 +01:00
Michael Stefaniuc 8e6a15ffd7 dmstyle: COM cleanup for IDirectMusicStyle8. 2014-01-29 12:39:13 +01:00
Michael Stefaniuc 3770021610 dmstyle: Remove the redundant "IDirectMusicStyle8" from method names. 2014-01-29 12:39:08 +01:00
Michael Stefaniuc e383cc393a dmstyle: Do not use method implementations directly. 2014-01-29 12:39:04 +01:00
Michael Stefaniuc 29fe708970 dmstyle/tests: Fix a crash on old dmusic versions. 2014-01-17 11:01:15 +01:00