Commit Graph

194 Commits

Author SHA1 Message Date
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +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 7e5985311c dmusic: Sign-compare warning fix. 2008-07-31 13:39:51 +02:00
Alexandre Julliard aa68258b7a Fix a few %ll printf formats. 2008-06-30 12:50:07 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Austin English b4f52938e4 Spelling fixes. 2008-04-02 23:18:21 +02:00
Rob Shearman 5dd2f1efa8 Include config.h and wine/port.h in files that use snprintf. 2008-02-29 12:39:28 +01:00
Andrew Talbot 6b39f35cf5 dmusic: Assign to structs instead of using memcpy. 2008-02-26 11:18:20 +01:00
Andrew Talbot 8a4db52f2a dmusic: Remove unneeded casts. 2007-12-08 19:54:05 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Andrew Talbot f56ca61817 dmusic: Indirection level fix. 2007-09-21 11:52:36 +02:00
Stefan Leichter eec8c42223 dmusic: Remove 'recursive registry key delete' function. 2007-08-30 20:06:42 +02: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
Andrew Talbot 391b1c24a2 dmusic: Constify a variable. 2007-04-25 11:50:13 +02:00
Michael Stefaniuc 22684cc767 janitorial: Remove stray '\' at end of lines. 2007-01-09 12:04:26 +01: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
Marcus Meissner af30447348 dmusic: Replaced && 0xfff... by & 0xff. 2006-11-09 17:53:36 +01: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
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Stefan Leichter 08e1260057 dmusic: Print 64bit integers with wine_dbgstr_longlong. 2006-09-11 11:30:26 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Paul Vriens 8f143f190c Use the return value of register_key_guid. 2006-06-30 21:08:07 +02:00
Alexandre Julliard d37c555a48 dmusic: Make the virtual table functions static where possible. 2006-06-10 11:57:22 +02:00
Alexandre Julliard 9ca8a86914 Link against libwine_unicode everywhere we use Unicode functions. 2006-05-24 18:05:40 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vitaliy Margolen 4054c06e55 directx: Update file versions to dx9c (compared to win2k). 2006-05-22 11:32:17 +02:00
Robert Shearman 74407105d2 Check the return value from register_key_guid in all the DLL registering code. 2006-05-10 19:38:04 +02:00
Raphael Junqueira f9fef85145 Fix implementation of IDirectMusic8Impl_CreatePort. 2005-11-29 10:43:18 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Francois Gouget 1de5d3cc7f Correct more mismatches between spec files and comments about export
number.
2005-08-10 14:45:58 +00:00
Vincent Béron 21e3ba8cd1 Correct mismatches between spec files and comments about export
number.
2005-08-10 09:53:47 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Alexandre Julliard 85c9283f50 Don't generate import libraries for dlls that don't export anything. 2005-07-26 15:52:58 +00:00
Mike McCormack 0791d06215 Interlocked LONG* gcc warning fixes. 2005-07-12 19:21:36 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Dmitry Timoshkov b67da5b946 Make more of the OLE interface vtables const. 2005-06-01 19:57:42 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Peter Berg Larsen 6aefbc0934 Strncpy elimination. 2005-04-18 15:36:20 +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
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
Francois Gouget ee0344a4a2 Remove unneeded NULL casts. 2004-12-22 15:13:20 +00:00
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +00:00
Hans Leidekker fe442b21f7 Fix signed/unsigned comparison warnings. 2004-09-08 01:23:57 +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 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Alexandre Julliard 936198ce45 Moved ICOM_THIS_MULTI definition out of objbase.h and into the files
that use it.
2004-08-13 00:44:22 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Alexandre Julliard 0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Francois Gouget bf72af30d0 Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Ivan Leo Murray-Smith 10778aa761 Updated the version info of all DirectX dlls to the version numbers of
DirectX 9.0b for Windows 2000/XP.
2004-05-14 21:37:32 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Rok Mandeljc b26d65bba9 Added name resolving for CLSIDs, IIDs, GUIDs and return codes. 2004-02-25 01:30:03 +00:00
Alexandre Julliard 20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +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
Alexandre Julliard cb5c00d57c Avoid referencing a private header in another dll. 2004-01-03 00:58:08 +00:00
Dimitrie O. Paun 921df719e5 Fix some instances of memory allocation through HeapReAlloc(). 2003-10-11 05:25:31 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +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
Alexandre Julliard 20698b22df Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer,
DllGetClassObject and DllCanUnloadNow functions private (suggested by
Jon Griffiths).
2003-07-30 03:48:55 +00:00
Rok Mandeljc 473c565781 Split the dmusic interfaces. 2003-07-21 22:10:14 +00:00
John K. Hohm 952e13c10b Implement DllRegisterServer and DllUnregisterServer for dmusic.dll,
and add OleSelfRegister version string.
2003-07-16 23:31:04 +00:00
Francois Gouget 56aaea2f43 Spelling fixes. 2003-07-09 02:52:57 +00:00
Christian Costa 2348e7a098 Make Init and InitAudio return an error when no audio driver is
available.
Fix crash in InitAudio when releasing the dsound object.
2003-07-02 04:30:27 +00:00
Alexandre Julliard 4433f15543 Add strmif.h to the headers included in libuuid.
Fixed a few header conflicts.
2003-07-01 04:33:35 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Alexandre Julliard bf7a4d7d72 Fixed warning. 2003-06-30 20:25:30 +00:00
Rok Mandeljc 12acfb2285 File loading improvements. 2003-06-30 18:28:52 +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 6c9b097fae Added framework for file loading. 2003-06-24 02:26:07 +00:00
Raphael Junqueira 8695df5aa4 - add IDirectMusicContainer support in
IDirectMusicLoader8Impl::LoadObjectFromFile
- don't use IDirectMusicSegment*Impl when IDirectMusicSegment*8Impl
  can be used instead (avoid code duplication)
2003-06-18 03:18:23 +00:00
Christian Costa 677b37cbd8 Allocate necessary dsound buffers for standard audio paths and enable
retrieval of their interfaces via GetObjectInPath.
Fix and clean dsound and dmusics objects allocation when initializing
the performance object.
Some stubs improvements.
2003-06-16 20:26:50 +00:00
Raphael Junqueira bba49757bb - always use IDirectMusicPerformance8Impl instead of
IDirectMusicPerformanceImpl (as the first inherits from the second)
- implement many Loader, AudioPath and Performance8 stubs - fix the
  class factory
- more debug traces
- for now IDirectMusicLoader8::LoadObjectFromFile always returns not
  supported format
- fix the IDirectMusicPerformance8::Init (many crashes)
- implementation of IDirectMusicPerformance8InitAudio
2003-06-13 18:59:51 +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
Alexandre Julliard 31e78f479e Header files must not include config.h. 2003-04-12 00:06:42 +00:00
Rok Mandeljc 61035c8fbb Added stubs for all dmusic interfaces. 2003-04-08 21:42:00 +00:00
Rok Mandeljc c895fc9d04 Added version info. 2003-04-03 23:55:27 +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