Commit Graph

170 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes eeca42b32f dmstyle: Free list when Style track is destroyed.
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-11-14 21:05:03 +01:00
Michael Stefaniuc ea2b9def61 dmstyle: Rename IDirectMusicTrack8Impl to style_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:59 +01:00
Michael Stefaniuc 04ec009eaf dmstyle: Rename IDirectMusicTrack8Impl to mute_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:55 +01:00
Michael Stefaniuc f85aa075ff dmstyle: Rename IDirectMusicTrack8Impl to motif_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:50 +01:00
Michael Stefaniuc 165449e347 dmstyle: Rename IDirectMusicTrack8Impl to command_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:46 +01:00
Michael Stefaniuc acb6fb5a9b dmstyle: Rename IDirectMusicTrack8Impl to chord_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:41 +01:00
Michael Stefaniuc 63b2ffe414 dmstyle: Rename IDirectMusicTrack8Impl to audition_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:37 +01:00
Alistair Leslie-Hughes 7f469b689a dmstyle: IDirectMusicTrack GetParam add pointer check.
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-11-05 23:01:57 +01:00
Alexandre Julliard 33ec6fd86f dmstyle: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 10:30:30 +02:00
Sven Baars f3e3401a0a dmstyle/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:01 +01:00
Michael Stefaniuc 6b42be395d dmstyle/tests: Relax a test for a pristine DMStyle object.
Based on a patch by Alex Henrie.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-19 22:11:26 +01:00
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