Commit Graph

42 Commits

Author SHA1 Message Date
Andrew Talbot 00f85d7fc3 dmusic: Avoid signed-unsigned integer comparisons. 2013-01-16 12:21:53 +01:00
Christian Costa c6694e6dec dmusic: Implement SynthPortImpl_IDirectMusicPort_DownloadInstrument. 2012-12-24 14:36:21 +01:00
Christian Costa 494fbc69ca dmusic: Move IDirectMusicDownloadedInstrument to port.c since it is port dependant and perform COM cleanup. 2012-12-24 14:36:14 +01:00
Christian Costa 699fa23bd2 dmusic: Rename params in SynthPortImpl_IDirectMusicPort_QueryInterface. 2012-09-21 17:06:03 +02:00
Christian Costa 4262ecf910 dmusic: Rename params of SynthPortImpl_IDirectMusicPort_DownloadInstrument. 2012-09-20 19:22:36 +02:00
Christian Costa 57e6d416d6 dmusic: Add comments to Synth port vtables. 2012-09-20 19:22:32 +02:00
Christian Costa b8aadbfbd9 dmusic: Implement SynthPortImpl_IDirectMusicPort_PlayBuffer. 2012-09-20 19:22:28 +02:00
Christian Costa b177ceff1e dmusic: Setup and free all DirectMusicSynth objects when creating and releasing Synth port. 2012-09-20 19:22:21 +02:00
Christian Costa 1481d11f66 dmusic: Rename params in DMUSIC_CreateSynthPortImpl. 2012-09-19 13:05:29 +02:00
Christian Costa 7844c1ca25 dmusic: Rename IDirectMusicPortImpl object to SynthPortImpl. 2012-09-19 13:05:23 +02:00
Christian Costa 51eb9331cf dmusic: Rename CreateSynthPortImpl to CreateSynthPortImpl and create stubs for CreateMidi{In|Out}PortImpl.
Init constructors in system ports list accordingly.
2012-09-19 13:05:15 +02:00
Christian Costa d46f8e316a dmusic: Display new ref in AddRef and Release methods. 2012-09-18 14:47:00 +02:00
Christian Costa 66a817f067 dmusic: Create the list of available system ports at the beginning and use it to enumerate ports. 2012-09-17 12:07:41 +02:00
Christian Costa decada5f73 dmusic: COM cleanup of DirectMusicPort object. 2012-05-18 18:12:47 +02:00
Alexandre Julliard 87e75a0349 dmusic: Internal functions don't need to be WINAPI. 2012-04-24 11:37:20 +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
Austin English fa7b5b05e2 dmusic: use a previously unused variable. 2010-07-28 16:28:19 +02:00
Austin English aafef7cdd5 dmusic: Use if(0) instead of #if 0 to make sure code still compiles. 2010-05-28 12:31:12 +02:00
Christian Costa ba081eb221 dmusic: Improve IDirectMusicPortDownloadImpl_GetBuffer stub. 2008-12-22 15:20:57 +01:00
Christian Costa f86b6e87f3 dmusic: Fix IDirectMusicPortImpl_QueryInterface. 2008-12-22 15:20:50 +01:00
Christian Costa ceb87f98a2 dmusic: Improve IDirectMusicPortImpl_DownloadInstrument stub. 2008-12-22 15:19:41 +01:00
Christian Costa cc53bd283c dmusic: Move IDirectMusicThru and IDirectMusicPortDownload to DirectMusicPort object where they belong. 2008-12-20 11:26:36 +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 6b39f35cf5 dmusic: Assign to structs instead of using memcpy. 2008-02-26 11:18:20 +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
Robert Reif 0b0b72ec35 dmusic: Implement just enough of IDirectMusicPortImpl_GetFormat
to keep Direct Sound from crashing from unitialized data.
2007-01-03 11:01:51 +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
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
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
Rok Mandeljc 473c565781 Split the dmusic interfaces. 2003-07-21 22:10:14 +00:00