Commit Graph

275 Commits

Author SHA1 Message Date
Michael Stefaniuc 8b9fd8939b dmime: Move a struct definition to the .c file that uses it. 2014-06-11 19:15:21 +02:00
Michael Stefaniuc 232aeb6b20 dmime/tests: Rather test for IDirectMusicObject as invalid iface. 2014-06-11 19:15:20 +02:00
Michael Stefaniuc 1a3a6d0084 dmime/tests: Test some IPersistStream methods of objects with DMObject. 2014-06-11 16:12:00 +02:00
Nikolay Sivov a596cbb847 dmime: Fix handling of NULL out pointer in QI. 2014-05-05 12:17:57 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Alexandre Julliard 7d3559bfe9 dxguid: Remove some symbols that aren't exported in native. 2014-04-24 12:41:38 +02:00
Nikolay Sivov 91ee56769c dmime: COM cleanup of IDirectMusicGraph interface. 2014-03-03 17:02:11 +01:00
Nikolay Sivov 347da355ba dmime: COM cleanup of IDirectMusicSegmentState8 interface. 2014-02-27 09:27:21 -06:00
Aric Stewart fcae01672f dmime: Do not try to query a NULL direct sound buffer. 2014-02-26 13:38:06 -06:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Frédéric Delanoy cd4cd76614 dmime/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:44:50 +01:00
Michael Stefaniuc 03d5b1248b dmime/tests: Fix a crash due to a missing audio driver. 2014-01-13 17:37:39 +01:00
Michael Stefaniuc edddda2374 include: There is no need to duplicate CLSID_DirectMusicAudioPathConfig as CLSID_DirectMusicAudioPath.
CLSID_DirectMusicAudioPath is private to Wine and produces the confusion
between the COM objects DirectMusicAudioPath and
DirectMusicAudioPathConfig. But those are totally different things.
2014-01-10 12:09:12 +01:00
Michael Stefaniuc a64bda5b1b dmime/tests: COM tests for DirectMusicAudioPath and DirectMusicAudioPathConfig. 2014-01-10 12:08:06 +01:00
Michael Stefaniuc 0991d3a9bc dmime/tests: COM tests for DirectMusicGraph. 2014-01-10 12:07:59 +01:00
Michael Stefaniuc 13dfc393de dmime/tests: COM tests for the different DirectMusic*Tracks. 2014-01-10 12:07:56 +01:00
Michael Stefaniuc 77bf52b8a2 dmime/tests: Add COM tests for DirectMusicSegmentState. 2014-01-10 12:07:49 +01:00
Michael Stefaniuc d4861c07c4 dmime/tests: Move the unrelated COM test out of performance.c. 2014-01-10 12:07:44 +01:00
Michael Stefaniuc 2343eeff91 dmime: None of the COM classes support COM aggregation. 2014-01-10 12:06:41 +01:00
Michael Stefaniuc a4664409ef dmime: Remove "#if 1" preprocessor directives. 2014-01-09 10:50:27 +01:00
Michael Stefaniuc 8472190aaf dmime: Fix copy and paste errors. 2014-01-08 11:11:37 +01:00
Michael Stefaniuc 996b3c87f1 dmime: Remove the extraneous IUnknown from DirectMusicSegment8.
Also lock/unlock the module only on creation/destruction of the object.
2014-01-07 12:20:30 +01:00
Michael Stefaniuc dc45b8ad06 dmime: COM cleanup for IDirectMusicSegment8. 2014-01-07 12:20:29 +01:00
Michael Stefaniuc c236bddcef dmime: Remove duplicated "IDirectMusicSegment8" from the method names. 2014-01-07 12:20:28 +01:00
Michael Stefaniuc 770feca7ac dmime: Don't use an IDirectMusicSegment8 method implementation directly. 2014-01-07 12:20:28 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Michael Stefaniuc 5351700223 dmime: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-08 12:07:47 +01:00
Christian Costa 1acf5a0401 dmime: Rename params in IDirectMusicPerformance8Impl_AssignPChannel & IDirectMusicPerformance8Impl_PChannelInfo. 2012-09-21 18:29:25 +02:00
Andrew Eikum 629e857c2e dmime: Don't try to create a standard audio path if the client didn't ask for one. 2012-04-19 12:00:52 +02:00
Michael Stefaniuc edcf723bab dmime/tests: Add some COM tests for DirectMusicSegment. 2012-04-06 20:14:29 +02:00
Michael Stefaniuc f998b267d6 dmime: DirectMusicSegment doesn't supports COM aggregation. 2012-04-06 20:14:20 +02:00
Michael Stefaniuc a84245463a dmime: Move struct IDirectMusicPerformance8Impl to the c file. 2012-04-02 12:41:21 +02:00
Michael Stefaniuc 2259da712e dmime/tests: Add some COM tests for IDirectMusicPerformance. 2012-04-02 12:41:12 +02:00
Michael Stefaniuc 0ea219429f dmime: DirectMusicPerformance doesn't supports COM aggregation. 2012-04-02 12:41:08 +02:00
Michael Stefaniuc 5bd335668d dmime: COM cleanup for IDirectMusicPerformance8. 2012-04-02 12:41:04 +02:00
Andrew Eikum 47ce8c9755 dmusic: Support creating default ports with GUID_NULL. 2012-03-30 17:33:43 +02:00
Christian Costa afbf28940c dmime: Check return code of CoCreateInstance in Init method. 2012-03-29 20:49:20 +02:00
Andrew Eikum 760a318882 dmusic: Return more accurate error codes in IDirectMusicSegment::Load. 2012-03-26 12:41:27 +02:00
Frédéric Delanoy f9ecfff4bf dmime: Avoid idempotent operation (Clang). 2011-10-19 16:38:52 +02:00
Marcus Meissner 2a55b09bed directshow: Removed bad sizeof in copy/pasted code (Coverity). 2011-10-18 15:17:42 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Michael Stefaniuc 29575d2f4c dmime: Merge the IClassFactory implementations. 2011-07-28 11:32:05 +02:00
Marcus Meissner ba8455d5f1 dmime: Mark internal symbols with hidden visibility. 2011-05-17 10:19:00 +02:00
Alexandre Julliard 5bc129aa89 dmime: Convert dll registration to the IRegistrar mechanism. 2010-12-03 14:28:25 +01:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02: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
Austin Lund 5b27cdf93b dmime: Ensure IDirectMusicPort is initialised when calling IDirectMusicPerformance::PChannelInfo. 2010-08-16 17:28:55 +02:00
Austin Lund 203272eafa dmime/tests: Added tests for IDirectMusicPerformance. 2010-08-16 17:28:55 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +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 bedea431f9 dmime: Avoid newlines inside FIXME messages. 2010-01-14 09:03:21 -06:00
Marcus Meissner 9815898840 dmime: Actually get a pCLSID stream before using it (Coverity). 2009-12-11 12:16:26 +01:00
Francois Gouget da1601e262 dmime: Remove patterntrack.c and tool.c as they are unused and don't correspond to objects. 2009-06-18 15:17:28 +02:00
Marcus Meissner 3ce650bfd0 dmime: Added missing NULL ptr check (Coverity). 2009-02-02 15:44:39 +01:00
Michael Stefaniuc 49177a0958 dmime: Remove superfluous pointer casts. 2009-01-13 15:26:23 +01:00
Michael Stefaniuc 9e296ead7e include: Use LONG instead of long in dmusici.h for Win64 compatibility. 2009-01-10 17:43:10 +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
Andrew Talbot 348df701ac dmime: Remove unused Wine debug channel. 2008-12-22 10:28:43 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Christian Costa 53562c7a84 dmime: Check input params in IDirectMusicSegmentState8Impl_QueryInterface. 2008-12-15 12:31:28 +01:00
Christian Costa 7ed6f0a643 dmime: Improve IDirectMusicPerformance8Impl_PlaySegment(Ex) stubs. 2008-12-15 12:31:14 +01:00
Alexandre Julliard 6c02a2a8d9 dmime: Remove some unused functions. 2008-12-01 13:24:50 +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 ecdf0e8682 dmime: Sign-compare warning fix. 2008-07-31 13:39:38 +02:00
Andrew Talbot f8f758f747 dmime: Remove unneeded address-of operators from array names. 2008-07-10 12:19:47 +02:00
Vitaliy Margolen 6d678fcfc2 dmime: Update dx version to 9.0c. 2008-05-12 11:43:21 +02:00
Francois Gouget 633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Francois Gouget 42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +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
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
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 be2f48cdd4 dmime: Assign to structs instead of using memcpy. 2008-02-25 13:27:22 +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 ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Stefan Leichter 29ae673c22 dmime: Remove 'recursive registry key delete' function. 2007-09-11 11:50:07 +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 150608ab91 dmime: Exclude unused headers. 2007-05-02 14:58:34 +02:00
Andrew Talbot 835d478fca dmime: Constify some variables. 2007-04-25 11:50:23 +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 22684cc767 janitorial: Remove stray '\' at end of lines. 2007-01-09 12:04:26 +01:00
Andrew Talbot 96ff8e26cf dmime: Declare some functions static. 2007-01-05 18:24:25 +01:00
Dmitry Timoshkov 56e725e152 dmime: Make some data const and static. 2006-12-14 20:11:13 +01:00
Andrew Talbot db299e3a3a dmime: Dangling references fix. 2006-12-11 12:16:33 +01:00
Francois Gouget 13b974bdff dmime: Remove resolve_STREAM_SEEK(), it is unused. 2006-12-06 12:15:18 +01:00
Francois Gouget 3f191fda9f Add '\n's to Wine traces. 2006-10-13 11:55:16 +02:00
Alexandre Julliard 6a9222fc39 Fixed some printf warnings caused by using sizeof. 2006-10-12 14:58:25 +02:00
Michael Stefaniuc 891e016653 dmime: Win64 printf format warning fixes. 2006-10-10 16:11:37 +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
Stefan Leichter 7262a86ceb dmime: Print 64bit integers with wine_dbgstr_longlong. 2006-09-21 11:16:55 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Samuel Lidén Borell 5d67651a71 dmime: Accept IDirectMusicPerformance2 in QueryInterface. 2006-07-26 10:25:03 +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
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +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 c329e17ba4 Partial implementation of IDirectMusicPerformance8Impl_AddPort. 2005-11-28 10:36:41 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard 0ec0f048e6 Removed unused debug channels. 2005-09-22 10:44:40 +00:00
Alexandre Julliard 13f2d21d26 Fixed DllGetClassObject spec entries. 2005-08-08 18:21:33 +00:00
Alexandre Julliard b8d3075d83 Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
duplicate typedefs.
2005-07-26 18:32:53 +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 c447939033 Interlocked LONG* gcc warning fixes. 2005-07-12 17:03:19 +00:00
Francois Gouget 28dc5a8afc Assorted spelling fixes. 2005-07-11 10:59:41 +00: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
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Francois Gouget 9769816b6e Fix winapi_check documentation warnings. 2005-06-17 20:58:33 +00:00
Dmitry Timoshkov 247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
Robert Shearman 54160222a0 Rename MODULENAME_Dll* functions to Dll* for better consistency and
type checking.
2005-05-17 14:41:37 +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 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +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
Francois Gouget ee0344a4a2 Remove unneeded NULL casts. 2004-12-22 15:13:20 +00:00
Alexandre Julliard ebe3c529b1 Janitorial: C booleans must not be compared against TRUE. 2004-12-09 14:07:59 +00:00
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +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
Alexandre Julliard c2eb6200b2 Fixed a warning. 2004-07-04 00:24:19 +00:00
Raphael Junqueira f10b38811a Correct typo in LoadWave (wave is an DMObject not a DMTrack). 2004-06-01 19:44:01 +00:00
Raphael Junqueira 41b9ae33de Support loading of Wave segments on IDirectMusicSegment8. 2004-05-27 01:54:59 +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 ca7ee47750 Better handling of User IDirectMusicTools. 2004-05-20 01:15:30 +00:00
Raphael Junqueira dfbf36d3e8 - Better loading of IDirectMusicSegTriggerTrack (internal list of
subtracks)
- Better stubs for IDirectMusicTempoTrack::InitPlay and
  IDirectMusicTempoTrack::EndPlay (InitPlay should return a valid
  memory pointer so allocate it). Should be extended for all
  IDirectMusicTrack objects.
2004-05-19 04:32:43 +00:00
Raphael Junqueira 8d954393e1 - First drafts for IDirectMusicSegment::GetParam and
IDirectMusicTempoTrack::GetParam (need modif on Load).
- Return value fixes for GetClassID of TempoTrack and Segment.
2004-05-17 19:48:49 +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