Commit Graph

77 Commits

Author SHA1 Message Date
Michael Stefaniuc 460ae3d82c dmime: Accept a DMUS_IO_SEGMENT_HEADER without rtPlayStart field.
Tron 2.0 has a segment header of 56, so is missing the rtPlayStart field.
Based on a patch by Alistair Leslie-Hughes.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-03 21:06:48 +01:00
Alistair Leslie-Hughes 7dd53d89c3 dmime: Store flags when parsing track data.
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>
2020-03-26 21:18:50 +01:00
Alistair Leslie-Hughes 01d521e5af dmime: IDirectMusicSegment8 SetLoopPoints support zero start/end.
Both end and start set to zero loop the whole segement.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=25728
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>
2020-01-05 17:34:07 +01:00
Michael Stefaniuc 17bab664ce dmime: Fix index handling in segment GetParam().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:45 +01:00
Michael Stefaniuc 4ccdf3e58a dmime: At least trace the DMUS_FOURCC_TRACK_EXTRAS_CHUNK.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-27 23:19:44 +01:00
Michael Stefaniuc f320ade54d dmime: Print the track groups consistently in hexadecimal.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-27 23:19:39 +01:00
Michael Stefaniuc f5ecdbc352 dmime: The group for a track in a segment cannot be zero.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-27 09:47:27 +01:00
Alistair Leslie-Hughes cec8d5c968 dmime: Rewrite IDirectMusicSegment8 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
Alistair Leslie-Hughes e4a5af6c0d dmime: Trace dwGroupBits parameter consistently.
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-08 23:38:41 +01:00
Alistair Leslie-Hughes ceabad19b8 dmime: 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-09-30 22:24:28 +02:00
Michael Stefaniuc c8e493cb0c dmime: Don't crash when DMSegment loads a MIDI file.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=31829
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 08:41:54 +02:00
Michael Stefaniuc 3ee58034ad dmime: Reimplement the track form parser.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 11:29:54 +02:00
Michael Stefaniuc 23629d069a dmime: Simplify the track list parser.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 11:29:52 +02:00
Francois Gouget d5784736aa dmime: Add a trailing '\n' to a FIXME().
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 09:23:38 +02:00
Michael Stefaniuc bb88427e4e dmime: Reimplement the segment form parser.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-16 10:47:38 +01:00
Michael Stefaniuc 117a2081d5 dmime: The descriptor is already parsed for the segment form.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-16 10:47:36 +01:00
Michael Stefaniuc b73c4ec440 dmime: Reimplement IPersistStream_Load() for DMSegment.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-16 10:47:33 +01:00
Michael Stefaniuc a35d4c77ca dmime: Stop pretending to Load() the 'WAVE' form.
It doesn't make sense to forward to DirectSoundWave anyway as that would
require the totally undocumented interface
{69e934e4-97f1-4f1d-88e8-f2ac88671327}

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-14 15:27:59 +01:00
Michael Stefaniuc 0fa08f4793 dmime: Add a generic ParseDescriptor helper and use it for DMSegment.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 20:31:51 +01:00
Alistair Leslie-Hughes 9c949389f6 dmime: Rename IPersistStreamImpl_Load functions.
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-05 13:42:25 +02:00
Alistair Leslie-Hughes d5380f0d00 dmime: Add TRACE to IDirectMusicSegment8 QueryInterface.
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-06-28 11:30:33 +02:00
Michael Stefaniuc 5ba420b635 dmime: Use the generic DirectMusicObject implementation for DMSegment. 2015-06-15 15:29:05 +09:00
Michael Stefaniuc 48ce352ea1 dmime: Remove unused arguments from helper functions. 2015-06-15 15:29:04 +09:00
Michael Stefaniuc 49dd9739dd dmime: Pass objects instead of ifaces to helpers. 2015-06-15 15:29:04 +09:00
Michael Stefaniuc 8b9fd8939b dmime: Move a struct definition to the .c file that uses it. 2014-06-11 19:15:21 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Michael Stefaniuc 2343eeff91 dmime: None of the COM classes support COM aggregation. 2014-01-10 12:06:41 +01:00
Michael Stefaniuc a4664409ef dmime: Remove "#if 1" preprocessor directives. 2014-01-09 10:50:27 +01:00
Michael Stefaniuc 996b3c87f1 dmime: Remove the extraneous IUnknown from DirectMusicSegment8.
Also lock/unlock the module only on creation/destruction of the object.
2014-01-07 12:20:30 +01:00
Michael Stefaniuc dc45b8ad06 dmime: COM cleanup for IDirectMusicSegment8. 2014-01-07 12:20:29 +01:00
Michael Stefaniuc c236bddcef dmime: Remove duplicated "IDirectMusicSegment8" from the method names. 2014-01-07 12:20:28 +01:00
Michael Stefaniuc 770feca7ac dmime: Don't use an IDirectMusicSegment8 method implementation directly. 2014-01-07 12:20:28 +01:00
Michael Stefaniuc 5351700223 dmime: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-08 12:07:47 +01:00
Michael Stefaniuc f998b267d6 dmime: DirectMusicSegment doesn't supports COM aggregation. 2012-04-06 20:14:20 +02:00
Andrew Eikum 760a318882 dmusic: Return more accurate error codes in IDirectMusicSegment::Load. 2012-03-26 12:41:27 +02:00
Frédéric Delanoy f9ecfff4bf dmime: Avoid idempotent operation (Clang). 2011-10-19 16:38:52 +02:00
Marcus Meissner 2a55b09bed directshow: Removed bad sizeof in copy/pasted code (Coverity). 2011-10-18 15:17:42 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Marcus Meissner 9815898840 dmime: Actually get a pCLSID stream before using it (Coverity). 2009-12-11 12:16:26 +01:00
Michael Stefaniuc 49177a0958 dmime: Remove superfluous pointer casts. 2009-01-13 15:26:23 +01:00
Michael Stefaniuc 4bfb33ec73 include: Change MUSIC_TIME from long to LONG for Win64 compatibility.
Fix also 192 printf format warnings produced by this change.
2009-01-10 17:43:10 +01:00
Francois Gouget 633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Andrew Talbot a73ab629e9 dmime: Remove unused variables. 2008-04-16 14:08:16 +02:00
Austin English 06d429d6b6 Spelling fixes. 2008-03-27 20:48:19 +01:00
James Hawkins c2a627c6e8 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:07 +01:00
Andrew Talbot be2f48cdd4 dmime: Assign to structs instead of using memcpy. 2008-02-25 13:27:22 +01:00
Alexandre Julliard 7718d2bd7c dmusic: Fix license headers that mistakenly use GPL instead of LGPL.
Confirmed by the original author and the major contributors.
2007-05-30 12:54:07 +02:00
Michael Stefaniuc 891e016653 dmime: Win64 printf format warning fixes. 2006-10-10 16:11:37 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard b8d3075d83 Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
duplicate typedefs.
2005-07-26 18:32:53 +00:00