Commit Graph

71 Commits

Author SHA1 Message Date
Michael Stefaniuc 62bf20783c dmusic: Remove the port from the ports list on the port destruction.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 18:01:49 +02:00
Józef Kucia 829ef41481 dmusic: Fix compilation on systems that don't support nameless structs or unions.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 09:30:22 -05:00
Michael Stefaniuc e8873b75af dmusic: Pass only the needed stuff to the DMPort create functions.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:16:06 -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 b75e8bc6bd dmusic: Use more sensible and consistent field names for IDirectMusic8Impl.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:15:50 -05:00
Michael Stefaniuc 883fe110ea dmusic: Support the IKsControl interface for the synth port.
Based on a patch by Michael Müller.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:21 +02:00
Michael Stefaniuc 845bf2ff59 dmusic: Move the SynthPortImpl struct to where it is used.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:20 +02:00
Michael Stefaniuc abb0a22d31 dmusic: Remove old and ugly COM macros. 2015-06-29 19:07:55 +09:00
Michael Stefaniuc 02ed47fa3c dmusic: Move the common parts of DMObject to a generic implementation. 2014-06-13 15:59:36 +02:00
Michael Stefaniuc 176b7aa842 dmusic: Move a struct to the .c file it is used. 2014-05-16 10:52:27 +02:00
Christian Costa 2562969804 dmusic: Add support for loading articulations. 2013-01-22 12:14:03 +01:00
Christian Costa 1c77528a89 dmusic: COM cleanup of IDirectMusicDownload. 2013-01-09 17:39:35 +01:00
Christian Costa c6694e6dec dmusic: Implement SynthPortImpl_IDirectMusicPort_DownloadInstrument. 2012-12-24 14:36:21 +01:00
Christian Costa 494fbc69ca dmusic: Move IDirectMusicDownloadedInstrument to port.c since it is port dependant and perform COM cleanup. 2012-12-24 14:36:14 +01:00
Christian Costa 898c2954e0 dmusic: Use static variables for instrument header and id instead of using pointer. 2012-12-21 13:54:29 +01:00
Christian Costa bf0605c08a dmusic: Implement instrument regions loading. 2012-12-21 13:54:23 +01:00
Christian Costa f30c18f3d2 dmusic: Set instrument stream position where the instrument begins, not at the beginning of the instruments list. Simplify CustomLoad accordingly. 2012-12-20 18:30:16 +01: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 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 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 decada5f73 dmusic: COM cleanup of DirectMusicPort object. 2012-05-18 18:12:47 +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 03c75b9cf6 dmusic: COM cleanup of IDirectMusicInstrument and get rid of separated IUnknown interface. 2012-05-08 09:45:43 +02:00
Christian Costa 16071b244a dmusic: COM cleanup of IDirectMusic8. 2012-05-02 13:02:10 +02:00
Christian Costa 09a2dd6a3f dmusic: Implement IDirectMusicBuffer_GetStartTime and IDirectMusicBuffer_SetStartTime. 2012-04-27 17:08:14 +02:00
Christian Costa fbd0aba739 dmusic: Implement IDirectMusicBufferImpl_PackStructured. 2012-04-27 17:07:52 +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 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
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
Marcus Meissner 1aee19753f dmusic: Mark internal symbols as hidden. 2011-05-17 10:19:00 +02:00
Andrew Talbot ab683fee33 dmusic: Constify a variable. 2010-09-06 16:13:22 +02:00
Christian Costa cc53bd283c dmusic: Move IDirectMusicThru and IDirectMusicPortDownload to DirectMusicPort object where they belong. 2008-12-20 11:26:36 +01:00
Alexandre Julliard c437e3d901 dmusic: Remove some unused functions. 2008-12-01 13:25:52 +01: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
Alexandre Julliard d37c555a48 dmusic: Make the virtual table functions static where possible. 2006-06-10 11:57:22 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Raphael Junqueira f9fef85145 Fix implementation of IDirectMusic8Impl_CreatePort. 2005-11-29 10:43:18 +01:00
Mike McCormack 0791d06215 Interlocked LONG* gcc warning fixes. 2005-07-12 19:21:36 +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
James Hawkins e8cafa5799 Properly implement DllCanUnloadNow ref counting. 2005-01-26 19:41:43 +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