Commit Graph

114 Commits

Author SHA1 Message Date
Michael Stefaniuc 6c73c3166b dmsynth: Disconnect old sink, addref and init new sink.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-19 20:38:05 +01:00
Michael Stefaniuc 00eaccda84 dmsynth: Avoid hungarian notation in the synth object.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-19 20:38:02 +01:00
Michael Stefaniuc 5d687a23e4 dmsynth: Activate the sink from the synth Activate() method.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-19 20:37:57 +01:00
Michael Stefaniuc 3292bc2965 dmsynth: Drop "synth" from the synth_sink field.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-19 20:37:52 +01:00
Michael Stefaniuc 56034f1f09 dmsynth/tests: Clarify the sink init / synth latency clock relationship.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-03 12:43:05 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 5d82baf974 winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Michael Stefaniuc e4e507a16c dmsynth: Avoid the LPDIRECTMUSICSYNTH8 type.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 14:41:07 +01:00
Michael Stefaniuc d0887f554c dmsynth: Avoid the LPDIRECTMUSICSYNTHSINK type.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 14:41:05 +01:00
Michael Stefaniuc c547d8c9a4 dmsynth: Use a wchar string literal instead of a temp variable.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-30 09:11:51 +01:00
Alexandre Julliard 51994cb64d dmsynth: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 10:30:44 +02:00
Michael Stefaniuc eb2e0d9fbe dmsynth: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-23 22:25:58 +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
Michael Stefaniuc 44fd37a323 dmsynth: Don't store a SynthSink implementation in IDirectMusicSynth8Impl.
Avoids an unsafe interface to object transition.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:56 +02:00
Michael Stefaniuc 8ba03f8a98 dmsynth: Lock/unlock the module only on creation/desctruction.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 21:32:25 +09:00
Michael Stefaniuc 6f440bbad5 dmsynth/tests: Add COM tests for DMSynth and DMSynthSink.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 21:32:21 +09:00
Michael Stefaniuc 45c1f7d3ed dmsynth/tests: Move the dll availability check to a separate function.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 21:32:17 +09:00
Michael Stefaniuc 91ba1a2561 dmsynth: The DMSynth{,Sink} COM objects don't support aggregation.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 21:32:14 +09:00
Sebastian Lackner a1ee6fa8dd dmsynth: Fix a module refcounting regression.
Fixes a regression introduced by 165f8d1fff.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 19:30:24 +09:00
Michael Stefaniuc 165f8d1fff dmsynth: Simplify error handling when creating a DMSynthSink object.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:37:37 +09:00
Francois Gouget a80f1450ce dmsynth: Spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 11:58:15 +09:00
Michael Stefaniuc 7b5f318834 dmsynth: Remove a now unused macro. 2015-07-06 14:49:41 +09:00
Nikolay Sivov 32924d4ed0 dmsynth: Cleanup IDirectMusicSynth8 creation helper. 2015-06-25 21:01:16 +09:00
Nikolay Sivov 477dfbca59 dmsynth: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-07 20:21:58 +02:00
Andrey Gusev add85f4687 Assorted typos fixes. 2014-02-12 19:15:32 +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
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
Francois Gouget b8a787fd43 dmsynth/tests: Fix compilation on systems that don't support nameless structs or unions. 2013-05-06 11:37:48 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Marcus Meissner 4d5dcdca48 dmsynth: Remove now useless NULL ptr check (Coverity). 2013-01-08 12:30:59 +01:00
Christian Costa 6ebf7a37fe dmsynth: Dump data passed to Download method. 2012-12-24 14:36:32 +01:00
André Hentschel ac90476211 dmsynth: Fix compilation on systems that don't support nameless structs or unions. 2012-11-19 16:35:45 +01:00
Christian Costa b3b7616f79 dmsynth: Implement IKsControl_KsProperty for Synth and SynthSink objects. 2012-09-21 18:29:25 +02:00
Christian Costa e5b9d0dffc dmsynth: Display more info in IDirectMusicSynth8Impl_Download stub. 2012-05-14 12:20:33 +02:00
Christian Costa aecd9c1201 dmsynth: Implement IDirectMusicSynth8_GetAppend. 2012-05-14 12:20:17 +02:00
Christian Costa 6894f384f1 dmsynth: Cleanup QueryInterface methods. 2012-05-11 15:39:21 +02:00
Christian Costa 90085afebf dmsynth: Display new ref in trace for AddRef and Release. 2012-05-10 18:20:45 +02:00
Christian Costa f9ba99996e dmsynth: Add stubbed IKsControl interface to DirectMusicSynthSink object. 2012-05-09 11:51:00 +02:00
Christian Costa 1f3d99a2e4 dmsynth: Add stubbed IKsControl interface to DirectMusicSynth object. 2012-05-08 20:23:33 +02:00
Christian Costa 42d18a3279 dmsynth: Add tests for querying IKsControl for Synth and SynthSink objects. 2012-05-08 20:22:28 +02:00
Christian Costa 0ce9eb7ba5 dmsynth: Create default clock for SynthSink object and assign it to Synth object when callink SetSynthSink. 2012-05-08 20:22:18 +02:00
Christian Costa addf806c7c dmsynth: COM cleanup of IDirectMusicSynthSink and rename parameters. 2012-04-30 20:03:24 +02:00
Christian Costa 01e4ee0ac0 dmsynth: Add some clock tests. 2012-04-30 20:03:24 +02:00
Christian Costa ecc369a002 dmsynth: COM cleanup of IDirectMusicSynth8. Rename parameters. 2012-04-30 20:03:24 +02:00
Christian Costa b751d9ad9c dmsynth: Put port caps that match native ones. 2012-04-06 20:45:01 +02:00
Christian Costa 3e48fe9d61 dmsynth: Check the rigth CLSID to create the DirectMusicSynthSink object. 2012-04-06 20:45:00 +02:00
Christian Costa d2d5d0e0d7 dmsynth: Add basic tests. 2012-04-06 20:44:58 +02:00