Commit Graph

66 Commits

Author SHA1 Message Date
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
Mike McCormack 06e23dad02 - use interfaces rather than internal functions
- remove declaration of AddRef and QueryInterface functions from
  headers
2005-06-21 09:44:28 +00:00
Mike McCormack ff536fbe42 Make functions static. 2005-06-20 16:01:04 +00:00
Dmitry Timoshkov 247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
James Hawkins 1727eb485e Properly implement DllCanUnloadNow ref counting. 2005-02-02 09:31:06 +00:00
Paul Vriens 3da8524bb4 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-11 16:02:21 +00:00
Francois Gouget ee0344a4a2 Remove unneeded NULL casts. 2004-12-22 15:13:20 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Raphael Junqueira f10b38811a Correct typo in LoadWave (wave is an DMObject not a DMTrack). 2004-06-01 19:44:01 +00:00