Commit graph

88 commits

Author SHA1 Message Date
Rémi Bernon 80e6310a88 dmusic: Use the IDirectMusicObject interface for waves.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55792
2023-10-20 19:24:08 +02:00
Rémi Bernon 086e114f05 dmusic: Implement SoundFont2 instrument parsing. 2023-09-29 17:23:10 +02:00
Rémi Bernon 215a55d603 dmusic: Implement SoundFont2 wave sample parsing. 2023-09-29 17:23:10 +02:00
Rémi Bernon b733a46ada dmusic: Implement SoundFont2 collection parsing. 2023-09-29 17:23:10 +02:00
Rémi Bernon ecb38bf1c9 dmusic: Keep the original instrument patch in the entry. 2023-09-20 22:15:30 +02:00
Rémi Bernon d32fb707ad dmusic: Implement downloading wave to port. 2023-09-18 11:01:47 +02:00
Rémi Bernon f54b0a5a9b dmusic: Keep an internal ref on the instrument's collection. 2023-09-18 11:01:47 +02:00
Rémi Bernon 82d1794cd4 dmusic: Parse collection wave lists. 2023-09-18 11:01:46 +02:00
Rémi Bernon 2f5608efd1 dmusic: Parse collection wave table. 2023-09-18 11:01:46 +02:00
Rémi Bernon 0cb208cec2 dmusic: Avoid swallowing collection Load failures. 2023-09-18 11:01:46 +02:00
Rémi Bernon 3fa399b145 dmusic: Parse instrument name from INFO list. 2023-09-14 22:03:53 +02:00
Rémi Bernon d30f914de6 dmusic: Rewrite collection DLS chunk parsing. 2023-09-14 22:03:53 +02:00
Rémi Bernon 866d4998ed dmusic: Rewrite collection INFO list parsing. 2023-09-14 22:03:53 +02:00
Rémi Bernon af79bf4f22 dmusic: Rewrite collection ptbl chunk parsing. 2023-09-14 22:03:53 +02:00
Rémi Bernon bb2a8312b1 dmusic: Rewrite collection lins list parsing. 2023-09-14 22:03:53 +02:00
Rémi Bernon 4ae866a0a7 dmusic: Stop leaking instruments on collection release. 2023-09-11 20:41:34 +02:00
Rémi Bernon 572125edf6 dmusic: Cleanup collection instrument iteration loops. 2023-09-11 20:41:34 +02:00
Rémi Bernon ff4cb785cb dmusic: Allocate and parse instruments in a single pass. 2023-09-11 20:41:34 +02:00
Rémi Bernon 0110dc2446 dmusic: Get rid of the IDirectMusicInstrumentImpl typedef. 2023-09-06 22:29:33 +02:00
Rémi Bernon 9abd659efd dmusic: Rename IDirectMusicInstrumentImpl method prefix to instrument. 2023-09-06 22:29:32 +02:00
Rémi Bernon d6dc41c2ef dmusic: Simplify and cleanup IDirectMusicInstrument constructor. 2023-09-06 22:29:32 +02:00
Rémi Bernon 4a60c0f64f dmusic: Get rid of struct collection liWavePoolTablePosition member. 2023-09-06 22:29:32 +02:00
Rémi Bernon a614527524 dmusic: Get rid of struct collection liCollectionPosition member. 2023-09-06 22:29:32 +02:00
Rémi Bernon 849c7a6ae1 dmusic: Get rid of the IDirectMusicCollectionImpl typedef. 2023-09-06 22:29:32 +02:00
Rémi Bernon 1502401042 dmusic: Rename IDirectMusicCollectionImpl method prefix to collection. 2023-09-06 22:29:32 +02:00
Rémi Bernon ed4327eef2 dmusic: Move constructor parameter checks to class factory. 2023-09-06 22:29:32 +02:00
Rémi Bernon abc6ecc89d dmusic: Always return S_FALSE from DllCanUnloadNow. 2023-09-05 23:10:27 +02:00
Alex Henrie 4ef31ae987 dmusic: Use CRT allocation functions. 2023-08-28 11:19:37 +02:00
Alex Henrie 81a6c8c882 dmusic: Don't force a calling convention on internal functions. 2022-11-24 22:20:21 +01:00
Michael Stefaniuc 50811b5680 dmusic: Don't trace both the This and iface pointers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 22:44:49 +01:00
Michael Stefaniuc 8729840f94 dmusic: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 22:44:49 +01:00
Michael Stefaniuc 217dfeadf6 dmusic: Remove an unused function.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-14 11:40:25 +02:00
Alexandre Julliard 3a06100668 dmusic: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 10:31:02 +02:00
Michael Stefaniuc 25c41c4eea dmusic: Use dump_DMUS_OBJECTDESC() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:12:22 +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
Frédéric Delanoy 2ab8729020 Assorted spelling/grammar fixes. 2014-06-20 12:19:31 +02:00
Michael Stefaniuc d33989f675 dmusic: Remove the redundant "IDirectMusicCollection" from method names. 2014-06-13 15:59:48 +02:00
Michael Stefaniuc 147f100f3e dmusic: Get rid of the extra pointer to a DMUS_OBJECTDESC. 2014-06-13 15:59:42 +02:00
Michael Stefaniuc 4e81a977c7 dmusic: Use generic "unimplemented" methods for IPersistStream. 2014-06-13 15:59:39 +02:00
Michael Stefaniuc 02ed47fa3c dmusic: Move the common parts of DMObject to a generic implementation. 2014-06-13 15:59:36 +02:00
Michael Stefaniuc 1a7c0a6a70 dmusic: Lock/unlock the module only on creation/destruction of the object. 2014-06-11 16:13:02 +02:00
Michael Stefaniuc 5d7e93dc54 dmusic: Return S_FALSE for the unimplemented IPersistStream_IsDirty(). 2014-06-11 12:59:05 +02:00
Michael Stefaniuc 176b7aa842 dmusic: Move a struct to the .c file it is used. 2014-05-16 10:52:27 +02:00
Michael Stefaniuc 2973dbb856 dmusic: Use the defines for the FOURCC codes. 2014-01-27 17:39:47 +01:00
Michael Stefaniuc 84df351b1e dmusic: Don't hardcode the guidClass in IDirectMusicObject::ParseDescriptor. 2014-01-06 17:10:04 +01:00
Michael Stefaniuc fe0d2a2ba7 dmusic: Don't crash on NULL in IDirectMusicObject::GetDescriptor. 2014-01-06 17:10:02 +01:00
Michael Stefaniuc fda99c0fcc dmusic: The object class is immutable in a DirectMusicObject. 2014-01-06 17:10:01 +01:00
Michael Stefaniuc 5771ff8912 dmusic: Don't leak mem if DirectMusicCollection creation fails. 2014-01-06 17:08:52 +01:00
Michael Stefaniuc d3c550d0ba dmusic: Always AddRef the returned iface in QueryInterface. 2014-01-06 17:06:52 +01:00
Michael Stefaniuc 5f5c21e55d dmusic: These COM classes don't support COM aggregation. 2013-12-30 19:01:42 +01:00