Commit Graph

42 Commits

Author SHA1 Message Date
Michael Stefaniuc ca060d45e3 dmime: Tempo track supports only GUID_TempoParam in GetParam().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:52 +01:00
Michael Stefaniuc dc96d1b155 dmime: Partial implementation of the Tempo track SetParam().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:48 +01:00
Michael Stefaniuc 741ec8ca75 dmime: Remove the 'enabled' field from the Tempo track.
The track GetParam/SetParam methods are enabled in the segment and that
information is stored in the segment state not in the track.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:13 +01:00
Alistair Leslie-Hughes 791e15b562 dmime: Free list when Tempo 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:05 +01:00
Michael Stefaniuc 1c877651fb dmime: Rename IDirectMusicTrack8Impl to tempo_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:40:28 +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
Michael Stefaniuc f78ed39b98 dmime: Use the generic IPersistStream for DMTempoTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc ee09310345 dmime: Remove the extraneous IUnknown from DMTempoTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc 3ef8e01517 dmime: COM cleanup for IDirectMusicTrack of DMTempoTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc 8e959e1203 dmime: Implement the remaining E_NOTIMPL methods of IDirectMusicTrack8. 2015-07-06 14:49:40 +09:00
Michael Stefaniuc 619c697da0 dmime: Move struct definitions to the files that need them. 2015-06-26 14:14:30 +09: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 8472190aaf dmime: Fix copy and paste errors. 2014-01-08 11:11:37 +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 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 42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +02: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
Francois Gouget 3f191fda9f Add '\n's to Wine traces. 2006-10-13 11:55:16 +02:00
Alexandre Julliard 6a9222fc39 Fixed some printf warnings caused by using sizeof. 2006-10-12 14:58:25 +02:00
Michael Stefaniuc 891e016653 dmime: Win64 printf format warning fixes. 2006-10-10 16:11:37 +02:00
Stefan Leichter 7262a86ceb dmime: Print 64bit integers with wine_dbgstr_longlong. 2006-09-21 11:16:55 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 28dc5a8afc Assorted spelling fixes. 2005-07-11 10:59:41 +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
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 dfbf36d3e8 - Better loading of IDirectMusicSegTriggerTrack (internal list of
subtracks)
- Better stubs for IDirectMusicTempoTrack::InitPlay and
  IDirectMusicTempoTrack::EndPlay (InitPlay should return a valid
  memory pointer so allocate it). Should be extended for all
  IDirectMusicTrack objects.
2004-05-19 04:32:43 +00:00
Raphael Junqueira 8d954393e1 - First drafts for IDirectMusicSegment::GetParam and
IDirectMusicTempoTrack::GetParam (need modif on Load).
- Return value fixes for GetClassID of TempoTrack and Segment.
2004-05-17 19:48:49 +00:00
Raphael Junqueira 43def08e80 - Segment loading fix (correct FOURCC_RIFF tracks handling).
- IDirectMusicStyleTrack loading (need DM References).
- IDirectMusicBandTrack loading (need IDirectMusicBand loading).
2004-05-12 23:18:22 +00:00
Raphael Junqueira ee51a0c014 - Many IDirectMusicSegment fixes (loading).
- AudioPath crash fix (don't use DSound APIs if buffer is null).
- Move generic functions to dmime_main.c for future reuse (from
  segment.c).
- IDirectMusicTempoTrack loading (many tempo case must be handled).
- IDirectMusicSegTriggerTrack loading implementation (now
  DMRF/DirectMusic References loading should be done).
2004-05-11 04:27:23 +00:00
Rok Mandeljc b26d65bba9 Added name resolving for CLSIDs, IIDs, GUIDs and return codes. 2004-02-25 01:30:03 +00:00
Rok Mandeljc 0382ea1d8a - updated resources to DX9
- completely rewritten headers (DX9 compat.; look much nicer now ;=)
- removed IDirectMusicSong and IDirectMusicMelodyFormulationTrack
  (which are removed from DX9; weren't implemented in DX8 anyway)
- combined/simplified IDirectMusicSomething / IDirectMusicObject /
  IPersistStream for objects that support loading
- implemented IDirectMusicObject on all such objects; via generic
  functions
- combined IDirectMusicTrack(8)/IPersistStream on all tracks
- fully implemented IDirectMusicContainer (at least 90% if there are
  no private interfaces)
- implemented IDirectMusicCollection (99% work & MS compliant
  behaviour; except for instruments)
- tried to implement IDirectMusicInstrument (unfortunately uses some
  dirty private interfaces... :(
- added dswave.dll; DirectMusic Wave
- some changes in style
- many, many more ;)
2004-01-20 00:21:40 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Rok Mandeljc df167d17c6 - implemented loader, loader's stream and loading of objects (now you
can use builtin dmloader and native other dm*.dlls)
- implemented proper creation of objects and retrieval of dmusic
  interfaces from them (object, stream, ...)
- implemented all "standard track types" and appropriate stream (for
  dmband, loading is almost complete)
- cleaned some obsolete stuff
- split debug channels
2003-08-22 23:53:27 +00:00