Commit Graph

341 Commits

Author SHA1 Message Date
Michael Stefaniuc f221298e61 dmime/tests: Add more InitAudio() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 17:25:58 +02:00
Michael Stefaniuc a306577803 dmime/tests: Use simpler variable names in test_InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 17:25:55 +02:00
Nikolay Sivov f0fb2f16ca dmusic/tests: Use void* instead of void** type value for outer argument.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 20:30:30 +02:00
Huw Davies 5864ef417e dmime/tests: Skip the tests if InitAudio fails for any reason.
Fixes failures on Windows 10.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-13 14:51:02 +01:00
Michael Stefaniuc 8788061b10 dmime: Avoid using the COM method implementations directly.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:47 +09:00
Michael Stefaniuc 07cee87e8f dmime: Use debugstr_guid() to trace a REFIID.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:33:18 +09:00
Michael Stefaniuc 5433a2c054 dmime: Don't set DSBCAPS_CTRLPAN together with DSBCAPS_CTRL3D.
Troubleshooted by Michael Müller.
Fixes a regression caused by 0e5dcc2c84.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 19:54:16 +09:00
Michael Stefaniuc f78ed39b98 dmime: Use the generic IPersistStream for DMTempoTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc ee09310345 dmime: Remove the extraneous IUnknown from DMTempoTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc 3ef8e01517 dmime: COM cleanup for IDirectMusicTrack of DMTempoTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc cfd84f1662 dmime: Use the generic IPersistStream for DMSegTriggerTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc 0c0df2f8d2 dmime: Remove the extraneous IUnknown from DMSegTriggerTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-06 14:49:41 +09:00
Michael Stefaniuc 360a24670f dmime: COM cleanup for IDirectMusicTrack of DMSegTriggerTrack. 2015-07-06 14:49:40 +09:00
Michael Stefaniuc 3de79096aa dmime/tests: Add some basic IDirectMusicTrack8 tests. 2015-07-06 14:49:40 +09:00
Michael Stefaniuc 8e959e1203 dmime: Implement the remaining E_NOTIMPL methods of IDirectMusicTrack8. 2015-07-06 14:49:40 +09:00
Michael Stefaniuc 0789ddc322 dmime: Use the generic IPersistStream for DMWaveTrack. 2015-07-03 22:57:58 +09:00
Michael Stefaniuc f70498f121 dmime: Remove the extraneous IUnknown from DMWaveTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:57:53 +09:00
Michael Stefaniuc 861081be65 dmime: COM cleanup for IDirectMusicTrack of DMWaveTrack. 2015-07-03 22:57:49 +09:00
Michael Stefaniuc b905999761 dmime: Implement the E_NOTIMPL methods in DMWaveTrack. 2015-07-03 22:57:44 +09:00
Michael Stefaniuc 4a9eb8bfe0 dmime: Use the generic IPersistStream for DMParamControlTrack. 2015-07-03 22:57:40 +09:00
Michael Stefaniuc 22184e3694 dmime: Remove the extraneous IUnknown from DMParamControlTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:57:36 +09:00
Michael Stefaniuc 243ff86fbf dmime: COM cleanup for IDirectMusicTrack of DMParamControlTrack. 2015-07-03 22:57:32 +09:00
Michael Stefaniuc 10f3d166a9 dmime: Implement the E_NOTIMPL methods in DMParamControlTrack. 2015-07-03 22:57:28 +09:00
Michael Stefaniuc aad75398dd dmime: Use the generic IPersistStream for DMLyricsTrack. 2015-07-03 22:57:23 +09:00
Michael Stefaniuc 696168cc00 dmime: Remove the extraneous IUnknown from DMLyricsTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:57:19 +09:00
Michael Stefaniuc ac277120ba dmime: COM cleanup for IDirectMusicTrack of DMLyricsTrack. 2015-07-03 22:57:14 +09:00
Michael Stefaniuc 1637360fa8 dmime: Implement the E_NOTIMPL methods in DMLyricsTrack. 2015-07-03 22:57:09 +09:00
Michael Stefaniuc 64e8b6c03a dmime: Use the generic IPersistStream for DMSysExTrack. 2015-07-03 22:57:05 +09:00
Michael Stefaniuc b9360bd999 dmime: Remove the extraneous IUnknown from DMSysExTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:57:00 +09:00
Michael Stefaniuc 9a47a46a95 dmime: COM cleanup for IDirectMusicTrack of DMSysExTrack. 2015-07-03 22:56:54 +09:00
Michael Stefaniuc ac18130e76 dmime: Use the generic IPersistStream for DMSeqTrack. 2015-07-03 22:56:50 +09:00
Michael Stefaniuc 7da799a26f dmime: Remove the extraneous IUnknown from DMSeqTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:56:44 +09:00
Michael Stefaniuc 1b1d95e9d6 dmime: COM cleanup for IDirectMusicTrack of DMSeqTrack. 2015-07-03 22:56:39 +09:00
Michael Stefaniuc 9b4ed8858f dmime: Implement the E_NOTIMPL methods of IDMTrack8 for DMSysExTrack. 2015-07-03 22:56:32 +09:00
Michael Stefaniuc 4a7664275f dmime: Implement the E_NOTIMPL methods of IDMTrack8 for DMSeqTrack. 2015-07-03 22:56:26 +09:00
Michael Stefaniuc 7123c74532 dmime: Use the generic IPersistStream for DMTimeSigTrack. 2015-07-02 19:16:10 +09:00
Michael Stefaniuc ad81735d05 dmime: Remove the extraneous IUnknown from DMTimeSigTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-02 19:16:08 +09:00
Michael Stefaniuc dd1dc8cc81 dmime: COM cleanup for IDirectMusicTrack of DMTimeSigTrack. 2015-07-02 19:16:06 +09:00
Michael Stefaniuc 5bf9d04581 dmime: Use the generic IPersistStream for DMMarkerTrack. 2015-07-02 19:16:04 +09:00
Michael Stefaniuc ef6a803592 dmime: Remove the extraneous IUnknown from DMMarkerTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-02 19:16:02 +09:00
Michael Stefaniuc d487e5e6ce dmime: COM cleanup for IDirectMusicTrack of DMMarkerTrack. 2015-07-02 19:16:00 +09:00
Michael Stefaniuc 5525f5d0fa dmime/tests: Deal with DMTrack objects without IDirectMusicTrack8. 2015-07-02 19:15:58 +09:00
Michael Stefaniuc edfa74fe45 dmime: DMTimeSigTrack doesn't have IDirectMusicTrack8. 2015-07-02 19:15:56 +09:00
Michael Stefaniuc 724fe43db6 dmime: DMMarkerTrack doesn't have IDirectMusicTrack8. 2015-07-02 19:15:54 +09:00
Michael Stefaniuc a2a2ea0311 dmime: Pass objects instead of ifaces to helpers. 2015-07-01 19:18:25 +09:00
Michael Stefaniuc 619c697da0 dmime: Move struct definitions to the files that need them. 2015-06-26 14:14:30 +09:00
Bruno Jesus f9a83377bc dmime: Don't fake success on IDirectMusicUtils_IPersistStream_ParseReference. 2015-06-16 16:51:01 +09:00
Michael Stefaniuc 39cc9da12a dmime/tests: Add IPersistStream tests for DM*Track. 2015-06-16 16:50:47 +09:00
Michael Stefaniuc 060d8a4638 dmime: Use the generic DMObject implementation for DMGraph. 2015-06-15 15:29:05 +09:00
Michael Stefaniuc 2c66b4b235 dmime: Get rid of the extra pointer to a DMUS_OBJECTDESC. 2015-06-15 15:29:05 +09:00
Michael Stefaniuc 93e61eb4e8 dmime: Use the generic DMObject implementation for DMAudioPathConfig. 2015-06-15 15:29:05 +09:00
Michael Stefaniuc 5ba420b635 dmime: Use the generic DirectMusicObject implementation for DMSegment. 2015-06-15 15:29:05 +09:00
Michael Stefaniuc 48ce352ea1 dmime: Remove unused arguments from helper functions. 2015-06-15 15:29:04 +09:00
Michael Stefaniuc 49dd9739dd dmime: Pass objects instead of ifaces to helpers. 2015-06-15 15:29:04 +09:00
Sebastian Lackner cd5f11e941 dmime: Properly set primary dsound buffer in IDirectMusicPerformance8Impl_CreateStandardAudioPath.
Fixes a regression introduced by b3d1b1f239.
2015-05-14 19:27:00 +09:00
Marcus Meissner 59efc5ce64 dmime: Check return code of create_dmgraph (Coverity). 2015-05-06 18:14:29 +09:00
Nikolay Sivov 02ab73beb1 dmime: COM cleanup for IDirectMusicAudioPath. 2015-05-01 15:15:18 +09:00
Nikolay Sivov ef585842d6 dmime: Remove separate IUnknown vtable from IDirectMusicAudioPath impl. 2015-04-29 12:24:51 +09:00
Nikolay Sivov b3d1b1f239 dmime: Don't expose IDirectMusicAudioPath impl details. 2015-04-28 19:07:35 +09:00
Nikolay Sivov b508c85c66 dmime: No need to allocate description separately for IDirectMusicGraph. 2015-04-27 15:10:42 +09:00
Nikolay Sivov 494c674028 dmime/tests: Fix some failures on Win2k VMs. 2015-04-27 15:10:38 +09:00
Nikolay Sivov c6bc5f1a1c dmime: Implement GetClassID() for IDirectMusicGraph. 2015-04-27 15:10:35 +09:00
Nikolay Sivov 2d77891fab dmime: Fix a couple of trace messages. 2015-04-27 15:10:32 +09:00
Michael Stefaniuc 4ffcae35d2 dmime/tests: Remove unused assigments (PVS-Studio). 2015-01-15 14:05:15 +01:00
Bruno Jesus 147bf5bd6f dmime/tests: Fix a crash in Windows 2000. 2014-07-28 17:20:35 -05:00
Marcus Meissner b20365ee29 dmime: Remove useless NULL check (Coverity). 2014-07-22 12:41:22 +02:00
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