Commit Graph

190 Commits

Author SHA1 Message Date
Michael Stefaniuc dcb6fcb2af dmstyle/tests: Add GetParam/SetParam tests for unsupported types.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:56 +01:00
Michael Stefaniuc d7ae69a3da dmstyle: Partially implement Style track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:54 +01:00
Michael Stefaniuc 0b8333d26f dmstyle: Partially implement Mute track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:52 +01:00
Michael Stefaniuc 68132a7d20 dmstyle: Partially implement Motif track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:50 +01:00
Michael Stefaniuc 66e68156f3 dmstyle: Partially implement Command track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:47 +01:00
Michael Stefaniuc d0780e37ed dmstyle: Partially implement Chord track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:42 +01:00
Michael Stefaniuc 62ff6ee754 dmstyle: Partially implement Audition track GetParam/SetParam methods.
Temporary drop a todo_wine test until all dmstyle tracks have their
SetParam() method implemented.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:40 +01:00
Michael Stefaniuc 2ba39c8901 dmstyle: Avoid cloning the IStream in parse_style_form().
It can be an application provided IStream with unimplemented Clone()
method.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=31562
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-23 10:49:51 +01:00
Michael Stefaniuc 7560f0c59d dmstyle/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-16 21:26:25 +01:00
Michael Stefaniuc bcd88ea3ea dmstyle: Use the debug functions provided by dmobject.[ch].
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 09:52:33 +01:00
Alistair Leslie-Hughes 292d62e3bb dmime: Trace pbMemData/llMemLength on the same line.
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-29 08:23:02 +01:00
Michael Stefaniuc ce275f38a0 dmstyle: Implement IDirectMusicStyle8_EnumMotif().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 22:49:03 +01:00
Michael Stefaniuc e4e3c0b417 dmstyle: Free lists when IDirectMusicStyleImpl is destroyed.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 22:49:03 +01:00
Michael Stefaniuc b9a5048108 dmstyle: Move 3 structs where they are used and get rid of typedefs.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 22:49:03 +01:00
Michael Stefaniuc 979e3069f2 dmstyle: Avoid capitalized field names in IDirectMusicStyle8Impl.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 22:49:03 +01:00
Alistair Leslie-Hughes 21c3ac446d dmstyle: Improved tracing of the DMUS_OBJECTDESC structure.
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-21 20:46:28 +01:00
Michael Stefaniuc 274427aa6a dmstyle: Implement IsParamSupported() for the Audition track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Alistair Leslie-Hughes de11d172dc dmstyle: Add GUID_IDirectMusicStyle support in Style Track GetParam.
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-19 23:15:05 +01:00
Michael Stefaniuc f5ad835ec3 dmstyle: The Chord track doesn't support the BandParam type.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Michael Stefaniuc 5d11ee2fe0 dmstyle/tests: Check all IDirectMusicTrack8_IsParamSupported() types.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 19:12:14 +01:00
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