Commit Graph

255 Commits (37457f11f720352c511670aeb159336904ae4524)

Author SHA1 Message Date
Alistair Leslie-Hughes 9c949389f6 dmime: Rename IPersistStreamImpl_Load functions.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-05 13:42:25 +02:00
Alistair Leslie-Hughes f62a891385 dmime: Support more interfaces in IDirectMusicAudioPath.GetObjectInPath.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 17:15:42 +02:00
Alistair Leslie-Hughes d5380f0d00 dmime: Add TRACE to IDirectMusicSegment8 QueryInterface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 11:30:33 +02:00
Michael Stefaniuc 14f899317a dmime: Initialize dmusic in InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 18:01:53 +02:00
Michael Stefaniuc 3505137d24 dmime: Add proper error handling to InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 18:01:51 +02:00
Michael Stefaniuc 01c6b4fe64 dmime: Forward Init() to InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 3236e4ccab dmime: Finish the cleanup of InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 26011d2d3e dmime: Do not use Init() from InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 3a145ac92b dmime: Finish the reindentation in CloseDown().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 9572b5f6d3 dmime: Avoid a temporary variable in IDirectMusicPerformance8Impl_InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc a2685a8bc0 dmime: Simplify the check if the performance was initialized.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 195280bee3 dmime/tests: Add refcount test for generated dmusic/dsound.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 36a88d2841 dmusic: Implement IDirectMusic8::SetDirectSound().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:16:00 -05:00
Michael Stefaniuc 9a90a3e8e5 dmime: Properly use SetCooperativeLevel() on the dsound ifaces we create.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 17:26:04 +02:00
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