Commit Graph

27 Commits

Author SHA1 Message Date
Raphael Junqueira c329e17ba4 Partial implementation of IDirectMusicPerformance8Impl_AddPort. 2005-11-28 10:36:41 +01: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
Christian Costa fed06be797 Wait until the thread has created its message queue before posting a
message otherwise it will be lost.
2005-01-11 15:07:30 +00:00
Eric Pouech cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Michael Stefaniuc 15a308a9d7 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2005-01-03 14:56:42 +00:00
Alexandre Julliard ebe3c529b1 Janitorial: C booleans must not be compared against TRUE. 2004-12-09 14:07:59 +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
Alexandre Julliard c2eb6200b2 Fixed a warning. 2004-07-04 00:24:19 +00:00
Raphael Junqueira 9a472ba3c1 - don't use a stupid "while (1);" thread when DMPerformance MSG Queue empty
- try to use latency and MSG synchro for timeout (but as i'm not a
  sound expert don't expect too much)
2004-05-27 01:54:16 +00:00
Raphael Junqueira a4215336ef - Typo fix in dmusicf.h.
- IDirectMusicChordTrack loading.
- Many IsDirty and GetClassID stubs.
2004-05-11 22:18:43 +00:00
Raphael Junqueira c77788b59f - Release DSBuffer on AudioPath destruction.
- Semi stub for AudioPath Activate.
- IDirectMusicPerformance8::CreateAudioPath stub.
- Most of the IDirectMusicSegment8_[Set,Get]* (using header).
- Load of Streamer IDirectMusicSegment8 header.
2004-05-10 19:56:17 +00:00
Raphael Junqueira faf1b08ef4 - PMsg processing thread (currently only Notifications handling)
- a chained list bug
- thread-safe lists
- real close on CloseDown
2004-05-06 23:37:54 +00:00
Raphael Junqueira 7be996e9b7 - fix cRef Leak (init to 1, should be 0) of IDMPerformance
- SendPMsg implementation
- begin of Performance Processing queues implementation
2004-05-05 18:59:59 +00:00
Raphael Junqueira 1afbcd71dd - fix DirectSound Creation by dmusic (fix recent Unreal2 regression)
using Robert Reif patch
- use of ForegroundWindow if hWnd is NULL (as specified on msdn docs)
- begin of Performance PMsg implementation (we should use a processing
  thread)
- better Segment loading
- some stubs for IsDirty (always FALSE)
2004-05-05 01:32:55 +00:00
Raphael Junqueira 5b8d5131a3 Fix one ugly bug (horrible cast) into dmusic code to get Unreal2
crashing later (when trying to launch loaded sound) :)
2004-03-07 03:14:49 +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
Raphael Junqueira 493660a529 - Some fixes on DirectSound init (need SetCooperativeLevel as seen in
msdn) on IDirectMusicPerformance8::InitAudio.
- Some fixes in IDirectMusicPerformance8ImplCreateStandardAudioPath
  (not perfect yet, need to understand/fix the channel init/use).
- Fix typo on CreateDirectMusicContainer.
- Add missing define in dsound.h.
- Better traces on IDirectMusicLoader8::SetSearchDirectory.
2003-10-27 22:08:37 +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