Commit Graph

35 Commits

Author SHA1 Message Date
Christian Costa d3fb586024 dmusic: Fix memory leak in Direct Music object. 2012-01-23 11:07:27 +01:00
Michael Stefaniuc 68eb63a4fa dmusic: Remove superfluous pointer casts. 2009-01-13 15:26:19 +01:00
Christian Costa af871d8312 dmusic: Implement IDirectMusic8Impl_CreateMusicBuffer. 2008-12-22 15:21:04 +01:00
Alexandre Julliard c437e3d901 dmusic: Remove some unused functions. 2008-12-01 13:25:52 +01:00
Michael Stefaniuc 892f735930 dmusic: Do not cast NULL. 2008-11-03 13:40:30 +01:00
Andrew Talbot 8a4db52f2a dmusic: Remove unneeded casts. 2007-12-08 19:54:05 +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
Peter Oberndorfer 62c6d61ddf dmusic: Do not write outside of array bounds. 2006-10-30 11:16:49 +01:00
Michael Stefaniuc a4253ba08b dmusic: Win64 printf format warning fixes. 2006-10-12 21:43:15 +02:00
Alexandre Julliard d37c555a48 dmusic: Make the virtual table functions static where possible. 2006-06-10 11:57:22 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Raphael Junqueira f9fef85145 Fix implementation of IDirectMusic8Impl_CreatePort. 2005-11-29 10:43:18 +01:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Dmitry Timoshkov b67da5b946 Make more of the OLE interface vtables const. 2005-06-01 19:57:42 +00:00
James Hawkins e8cafa5799 Properly implement DllCanUnloadNow ref counting. 2005-01-26 19:41:43 +00:00
James Hawkins ba92d2924a - Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-14 16:02:20 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +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
Rok Mandeljc b26d65bba9 Added name resolving for CLSIDs, IIDs, GUIDs and return codes. 2004-02-25 01:30:03 +00:00
Ge van Geldorp 100e11309b Fix various function prototypes to conform to PSDK. 2004-01-23 20:57:26 +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
Dimitrie O. Paun 921df719e5 Fix some instances of memory allocation through HeapReAlloc(). 2003-10-11 05:25:31 +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
Rok Mandeljc 473c565781 Split the dmusic interfaces. 2003-07-21 22:10:14 +00:00
Raphael Junqueira 25bf82ba64 - huge COM cleanup: only keep dmusic8 version of interfaces when they
inherit from dmusic1 and dmusic2 version. And always use dmusic8
  versions when available.
- really stupid implementation of IDirectMusicLoader8::GetObject when
  IDirectMusicScript wanted
- really fix the refcount problem found by Rok
2003-06-27 19:43:13 +00:00
Rok Mandeljc a4a5e9ae01 - added debug
- implemented fake midi & performance channels
- implemented some IDirectMusic*8* functions where IDirectMusic*
  equivalent exists
- IDirectMusic*8 interfaces can now be obtained from IDirectMusic
  interfaces (QueryInterface...)
- channel-related performance functions are kinda implemented now
2003-06-07 00:39:18 +00:00
Rok Mandeljc 8d54728696 - implemented some more port related-functions
- fixed warnings (reported by Gerald Pfeifer)
2003-05-06 00:14:31 +00:00
Rok Mandeljc 9d1ca9fb8a Dmusic class factory can now create dmloader8 and dmperformance8. 2003-05-04 02:26:03 +00:00
Rok Mandeljc 88240805ab Implemented DirectMusic:EnumPort and DirectMusic:GetDefaultPort. 2003-05-02 21:21:58 +00:00
Rok Mandeljc ecaf53f172 Some dmusic functions implementation. 2003-04-27 00:35:30 +00:00
Rok Mandeljc 61035c8fbb Added stubs for all dmusic interfaces. 2003-04-08 21:42:00 +00:00
Rok Mandeljc f6d22cec9e (sorta) implemented EnumPorts. 2003-03-31 01:33:08 +00:00
Rok Mandeljc 2d04be72f7 Stub implementation of the dmusic dll. 2003-03-21 00:42:38 +00:00