Commit Graph

50 Commits

Author SHA1 Message Date
Christian Costa 0b0985f391 dmusic: Cleanup DMUSIC_CreateDirectMusicImpl. 2012-05-25 13:44:13 +02:00
Christian Costa 2024e241ff dmusic: Cleanup IDirectMusic8Impl_QueryInterface. 2012-05-24 20:08:45 +02:00
Christian Costa 7c78cf2d31 dmusic: Display new ref in trace for AddRef and Release for direct music object. 2012-05-24 20:08:44 +02:00
Christian Costa 4c0f0281bd dmusic: Check errors in IDirectMusic8Impl_Activate and remove FIXME. 2012-05-02 13:03:18 +02:00
Christian Costa 5ae038b2e8 dmusic: Implement IDirectMusic8Impl_EnumMasterClock. 2012-05-02 13:03:13 +02:00
Christian Costa 16071b244a dmusic: COM cleanup of IDirectMusic8. 2012-05-02 13:02:10 +02:00
Christian Costa 1b33b1d5cd dmusic: Pass creation parameters to DMUSIC_CreateDirectMusicBufferImpl then allocate data buffer and set format accordingly. 2012-04-24 11:32:13 +02:00
Christian Costa acea60ca85 dmusic: Fix IDirectMusic8Impl_CreateMusicBuffer buffer signature. 2012-04-23 12:58:35 +02:00
Christian Costa c05c04952e dmusic: Check wrong params when creating a port + tests. 2012-04-11 19:10:26 +02:00
Christian Costa 7776591ff4 dmusic: Add dump function for DMUS_PORTPARAMS struct. 2012-04-11 19:10:06 +02:00
Andrew Eikum 9c79ba8a04 dmusic: Check correct return code. 2012-04-06 20:11:35 +02:00
Christian Costa 31bfc380ee dmusic: Check return codes and display name from port caps when enumerating microsoft synthetizer. 2012-04-03 17:52:33 +02:00
Christian Costa f13806e185 dmusic: Enumerate ports for midi out and midi in devices in EnumPort. 2012-04-03 17:52:22 +02:00
Christian Costa 4829fcd9b2 dmusic: Don't use method implementation directly. Pass through vtable with related macro instead. 2012-03-30 17:33:45 +02:00
Andrew Eikum 47ce8c9755 dmusic: Support creating default ports with GUID_NULL. 2012-03-30 17:33:43 +02:00
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