Commit Graph

46 Commits

Author SHA1 Message Date
Austin Lund
5b27cdf93b dmime: Ensure IDirectMusicPort is initialised when calling IDirectMusicPerformance::PChannelInfo. 2010-08-16 17:28:55 +02:00
Michael Stefaniuc
49177a0958 dmime: Remove superfluous pointer casts. 2009-01-13 15:26:23 +01:00
Michael Stefaniuc
4bfb33ec73 include: Change MUSIC_TIME from long to LONG for Win64 compatibility.
Fix also 192 printf format warnings produced by this change.
2009-01-10 17:43:10 +01:00
Christian Costa
7ed6f0a643 dmime: Improve IDirectMusicPerformance8Impl_PlaySegment(Ex) stubs. 2008-12-15 12:31:14 +01:00
Christian Costa
12f5a30833 dmime: Make stub returns a error to avoid crashing. 2008-11-28 13:38:08 +01:00
Michael Stefaniuc
4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +01:00
Andrew Talbot
3bf289aecc dmime: Indirection levels fix. 2008-08-18 17:15:55 +02:00
Andrew Talbot
a73ab629e9 dmime: Remove unused variables. 2008-04-16 14:08:16 +02:00
Austin English
06d429d6b6 Spelling fixes. 2008-03-27 20:48:19 +01:00
James Hawkins
c2a627c6e8 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:07 +01:00
Andrew Talbot
13afbc02b6 dmime: Assign to structs instead of using memcpy. 2008-02-25 13:27:14 +01:00
Andrew Talbot
301b867909 dmime: Remove unneeded casts. 2007-12-08 19:53:56 +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
Jan Zerebecki
93a4c27336 dmime: Add DebugInfo to critical sections. 2007-03-08 22:21:46 +01:00
Andrew Talbot
e907b06b87 dmime: Remove unused variable. 2007-01-22 12:09:06 +01:00
Michael Stefaniuc
891e016653 dmime: Win64 printf format warning fixes. 2006-10-10 16:11:37 +02:00
Stefan Leichter
7262a86ceb dmime: Print 64bit integers with wine_dbgstr_longlong. 2006-09-21 11:16:55 +02:00
Samuel Lidén Borell
5d67651a71 dmime: Accept IDirectMusicPerformance2 in QueryInterface. 2006-07-26 10:25:03 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
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