Commit Graph

281 Commits

Author SHA1 Message Date
Sven Baars 86d589b2e1 dmusic: Fix a copy and paste error. 2012-10-01 11:58:26 +02:00
Christian Costa 58f34f509b dmusic: Check returned value of GetPortCaps. 2012-09-28 11:29:39 +02:00
Christian Costa 6ebf13960b dmusic: Add master clock tests. 2012-09-24 22:27:47 +02:00
Christian Costa 699fa23bd2 dmusic: Rename params in SynthPortImpl_IDirectMusicPort_QueryInterface. 2012-09-21 17:06:03 +02:00
Christian Costa 27b2868899 dmusic: Rename params in IDirectMusic8Impl_GetDefaultPort. 2012-09-21 17:05:58 +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 142c527b4b dmusic: Use system ports list to create port in CreatePort and rename params. 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 649a177007 dmusic: Rename params in GetMasterClock. 2012-09-17 12:07:16 +02:00
Christian Costa 8c07215f3a dmusic: Rename params in CreateMusicBuffer. 2012-09-17 12:06:59 +02:00
Christian Costa 0b0985f391 dmusic: Cleanup DMUSIC_CreateDirectMusicImpl. 2012-05-25 13:44:13 +02:00
Christian Costa 2024e241ff dmusic: Cleanup IDirectMusic8Impl_QueryInterface. 2012-05-24 20:08:45 +02:00
Christian Costa 7c78cf2d31 dmusic: Display new ref in trace for AddRef and Release for direct music object. 2012-05-24 20:08:44 +02:00
Christian Costa 4c7fb67fc1 dmusic: Simplify IPersistStream_Load by checking DLS header first and exit if it is wrong. 2012-05-21 20:21:19 +02:00
Christian Costa decada5f73 dmusic: COM cleanup of DirectMusicPort object. 2012-05-18 18:12:47 +02:00
Christian Costa c0dff8ac44 dmusic: Cleanup IDirectMusicCollection_EnumInstrument. 2012-05-18 18:12:31 +02:00
Christian Costa 495e3288db dmusic: Cleanup IDirectMusicCollection_GetInstrument. 2012-05-18 18:12:18 +02:00
Christian Costa 82f3b86c5c dmusic: Display new ref in trace for AddRef and Release for collection object. 2012-05-18 18:12:06 +02:00
Christian Costa 19cb2d2171 dmusic: Implement IDirectMusicBuffer_SetUsedBytes. 2012-05-14 12:19:55 +02:00
Christian Costa f0324c9665 dmusic: COM cleanup of DirectMusicCollection and get rid of separated IUnknown interface. 2012-05-14 12:19:45 +02:00
Christian Costa 540ae18f69 dmusic: COM cleanup of IReferenceClock. 2012-05-14 12:19:24 +02:00
Christian Costa 5ae4238cea dmusic: Display new ref in trace for AddRef and Release for IDirectMusicInstrument. 2012-05-11 15:39:22 +02:00
Christian Costa 1501d3a49a dmusic: Variable spelling fix. 2012-05-11 15:39:22 +02:00
Christian Costa 447c97cfbd dmusic: Simplify ParseDescriptor by checking DLS header first and exit if it is wrong. 2012-05-09 11:51:47 +02:00
Christian Costa 03c75b9cf6 dmusic: COM cleanup of IDirectMusicInstrument and get rid of separated IUnknown interface. 2012-05-08 09:45:43 +02:00
Christian Costa 9f05f54540 dmusic: Midi message takes 4 bytes space but only 3 are relevant. 2012-05-07 17:16:34 +02:00
Christian Costa 4c0f0281bd dmusic: Check errors in IDirectMusic8Impl_Activate and remove FIXME. 2012-05-02 13:03:18 +02:00
Christian Costa 5ae038b2e8 dmusic: Implement IDirectMusic8Impl_EnumMasterClock. 2012-05-02 13:03:13 +02:00
Christian Costa 16071b244a dmusic: COM cleanup of IDirectMusic8. 2012-05-02 13:02:10 +02:00
Christian Costa 0eaf5c156b dmusic: Add tests to enumerate master clocks. 2012-05-02 13:02:01 +02:00
Christian Costa cb804ce884 dmusic: Implement IDirectMusicBufferImpl_Flush. 2012-04-27 17:08:18 +02:00
Christian Costa 09a2dd6a3f dmusic: Implement IDirectMusicBuffer_GetStartTime and IDirectMusicBuffer_SetStartTime. 2012-04-27 17:08:14 +02:00
Christian Costa 5c5ed245aa dmusic: IDirectMusicBufferImpl_GetUsedBytes. 2012-04-27 17:08:01 +02:00
Christian Costa fbd0aba739 dmusic: Implement IDirectMusicBufferImpl_PackStructured. 2012-04-27 17:07:52 +02:00
Christian Costa 51942db811 dmusic: Handle GUID_NULL when creating IDirectMusicBuffer. 2012-04-27 17:07:12 +02:00
Christian Costa 0a588385fb dmusic: Add tests for IDirectMusicBuffer. 2012-04-27 17:07:04 +02:00
Christian Costa ae6fb7511d dmusic: Cleanup IDirectMusicBufferImpl_QueryInterface. 2012-04-25 17:11:51 +02:00
Christian Costa 76a778be97 dmusic: Display new ref in IDirectMusicBufferImpl_AddRef and IDirectMusicBufferImpl_Release. 2012-04-25 17:11:28 +02:00
Christian Costa 6800851f1d dmusic: Implement IDirectMusicBufferImpl_GetRawBufferPtr. 2012-04-25 17:11:19 +02:00
Christian Costa 5f6a3807fd dmusic: Implement IDirectMusicBufferImpl_GetMaxBytes. 2012-04-25 17:11:15 +02:00
Christian Costa cc68c95fee dmusic: Implement IDirectMusicBufferImpl_GetBufferFormat. 2012-04-25 17:11:07 +02:00
Alexandre Julliard 87e75a0349 dmusic: Internal functions don't need to be WINAPI. 2012-04-24 11:37:20 +02:00
Christian Costa 46884bfcbe dmusic: COM clean-up of IDirectMusicBuffer. 2012-04-24 11:32:27 +02:00
Christian Costa 1b33b1d5cd dmusic: Pass creation parameters to DMUSIC_CreateDirectMusicBufferImpl then allocate data buffer and set format accordingly. 2012-04-24 11:32:13 +02:00
Christian Costa acea60ca85 dmusic: Fix IDirectMusic8Impl_CreateMusicBuffer buffer signature. 2012-04-23 12:58:35 +02:00
Marcus Meissner af5c45aac0 dmusic: Remove useless NULL check (Coverity). 2012-04-16 12:07:32 +02:00
Christian Costa eb03e83348 dmusic: Add trace to DMUSIC_CreateReferenceClockImpl and rename some variables. 2012-04-11 19:11:16 +02:00
Christian Costa c05c04952e dmusic: Check wrong params when creating a port + tests. 2012-04-11 19:10:26 +02:00
Christian Costa 7776591ff4 dmusic: Add dump function for DMUS_PORTPARAMS struct. 2012-04-11 19:10:06 +02:00
Christian Costa 7a772ed83a dmusic: Replace debugstr_DMUS_OBJECTDESC by a specific dump function to avoid debug buffer overflow. 2012-04-11 19:09:29 +02:00
Andrew Eikum 9c79ba8a04 dmusic: Check correct return code. 2012-04-06 20:11:35 +02:00
Christian Costa 31bfc380ee dmusic: Check return codes and display name from port caps when enumerating microsoft synthetizer. 2012-04-03 17:52:33 +02:00
Christian Costa f13806e185 dmusic: Enumerate ports for midi out and midi in devices in EnumPort. 2012-04-03 17:52:22 +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
Andrew Eikum ed54e52590 dmusic: Reimplement instrument loading. 2012-03-30 17:33:45 +02:00
Andrew Eikum 47ce8c9755 dmusic: Support creating default ports with GUID_NULL. 2012-03-30 17:33:43 +02:00
Christian Costa 997be9c465 dmusic: Add some tests for enumerating and creating ports. 2012-03-29 20:50:23 +02:00
Christian Costa d3fb586024 dmusic: Fix memory leak in Direct Music object. 2012-01-23 11:07:27 +01:00
Marcus Meissner 2a55b09bed directshow: Removed bad sizeof in copy/pasted code (Coverity). 2011-10-18 15:17:42 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Michael Stefaniuc 0c4ec942ba dmusic: Merge the IClassFactory implementations. 2011-07-28 11:31:57 +02:00
Marcus Meissner 1aee19753f dmusic: Mark internal symbols as hidden. 2011-05-17 10:19:00 +02:00
Alexandre Julliard 5f49129e03 resources: Define a generic mechanism for adding extra values to the common version block. 2010-12-03 14:53:59 +01:00
Alexandre Julliard f5090d2617 dmusic: Convert dll registration to the IRegistrar mechanism. 2010-12-03 14:28:27 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Andrew Talbot ab683fee33 dmusic: Constify a variable. 2010-09-06 16:13:22 +02:00
Austin English fa7b5b05e2 dmusic: use a previously unused variable. 2010-07-28 16:28:19 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +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
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Michael Stefaniuc bf0d0ac215 dmusic: Avoid newlines inside FIXME messages. 2010-01-14 09:04:12 -06:00
Michael Stefaniuc 68eb63a4fa dmusic: Remove superfluous pointer casts. 2009-01-13 15:26:19 +01:00
Christian Costa af871d8312 dmusic: Implement IDirectMusic8Impl_CreateMusicBuffer. 2008-12-22 15:21:04 +01: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 cff3915310 dmusic: Add support for IID_IDirectMusicDownloadedInstrument8 query in IDirectMusicDownloadedInstrumentImpl_QueryInterface. 2008-12-22 15:19:48 +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
Hans Leidekker 63aff890d7 janitorial: Remove unneeded user32 imports. 2008-12-17 11:38:36 +01:00
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