Commit Graph

38 Commits

Author SHA1 Message Date
Michael Stefaniuc 44fd37a323 dmsynth: Don't store a SynthSink implementation in IDirectMusicSynth8Impl.
Avoids an unsafe interface to object transition.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:56 +02:00
Michael Stefaniuc 8ba03f8a98 dmsynth: Lock/unlock the module only on creation/desctruction.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 21:32:25 +09:00
Michael Stefaniuc 91ba1a2561 dmsynth: The DMSynth{,Sink} COM objects don't support aggregation.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 21:32:14 +09:00
Francois Gouget a80f1450ce dmsynth: Spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 11:58:15 +09:00
Nikolay Sivov 32924d4ed0 dmsynth: Cleanup IDirectMusicSynth8 creation helper. 2015-06-25 21:01:16 +09:00
Nikolay Sivov 477dfbca59 dmsynth: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-07 20:21:58 +02:00
Andrey Gusev add85f4687 Assorted typos fixes. 2014-02-12 19:15:32 +01:00
Marcus Meissner 4d5dcdca48 dmsynth: Remove now useless NULL ptr check (Coverity). 2013-01-08 12:30:59 +01:00
Christian Costa 6ebf7a37fe dmsynth: Dump data passed to Download method. 2012-12-24 14:36:32 +01:00
André Hentschel ac90476211 dmsynth: Fix compilation on systems that don't support nameless structs or unions. 2012-11-19 16:35:45 +01:00
Christian Costa b3b7616f79 dmsynth: Implement IKsControl_KsProperty for Synth and SynthSink objects. 2012-09-21 18:29:25 +02:00
Christian Costa e5b9d0dffc dmsynth: Display more info in IDirectMusicSynth8Impl_Download stub. 2012-05-14 12:20:33 +02:00
Christian Costa aecd9c1201 dmsynth: Implement IDirectMusicSynth8_GetAppend. 2012-05-14 12:20:17 +02:00
Christian Costa 6894f384f1 dmsynth: Cleanup QueryInterface methods. 2012-05-11 15:39:21 +02:00
Christian Costa 90085afebf dmsynth: Display new ref in trace for AddRef and Release. 2012-05-10 18:20:45 +02:00
Christian Costa 1f3d99a2e4 dmsynth: Add stubbed IKsControl interface to DirectMusicSynth object. 2012-05-08 20:23:33 +02:00
Christian Costa 0ce9eb7ba5 dmsynth: Create default clock for SynthSink object and assign it to Synth object when callink SetSynthSink. 2012-05-08 20:22:18 +02:00
Christian Costa ecc369a002 dmsynth: COM cleanup of IDirectMusicSynth8. Rename parameters. 2012-04-30 20:03:24 +02:00
Christian Costa b751d9ad9c dmsynth: Put port caps that match native ones. 2012-04-06 20:45:01 +02:00
Jeff Zaroyko 93423aaa39 dmsynth: Fix a typo. 2009-06-01 16:16:05 +02:00
Michael Stefaniuc ca91850a30 include: Use LONG instead of long in dmusics.h for Win64 compatibility. 2009-01-10 17:43:11 +01:00
Michael Stefaniuc b963dd0076 dmsynth: Do not cast NULL. 2008-11-03 13:41:35 +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 bb08d0ecf3 dmsynth: Win64 printf format warning fixes. 2006-10-09 12:55:41 +02:00
Stefan Leichter b8d3c99d4b dmsynth: Print 64bit integers with wine_dbgstr_longlong. 2006-09-12 10:54:08 +02:00
Alexandre Julliard f6da014c4b dmsynth: Make the virtual table functions static where possible. 2006-06-10 11:57:03 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov b67da5b946 Make more of the OLE interface vtables const. 2005-06-01 19:57:42 +00:00
James Hawkins 7946edf27a Properly implement DllCanUnloadNow ref counting. 2005-01-31 20:40:26 +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