Commit Graph

56 Commits

Author SHA1 Message Date
Alexandre Julliard 5d0160ea75 Get rid of the non-standard Ixxx_METHODS macro definitions, declare
the interfaces explicitly instead.
2004-10-05 04:38:15 +00:00
Francois Gouget 179dc259e4 Fix incorrect usage of COBJMACROS.
Duplicate and adapt the COM access macros so they also work in C++.
Fix the IDirectPlayX access macros.
2004-10-04 19:39:32 +00:00
Alexandre Julliard 616940eb9a Get rid of the non-standard ICOM_DEFINE macro. 2004-08-12 03:33:30 +00:00
Robert Reif 59cc52b8ba Number of arguments to IDirectSoundBuffer8_GetObjectInPath was wrong. 2004-07-07 00:48:18 +00:00
Robert Reif f0006c8e3e Added some missing **LPLP typedefs. 2004-07-06 19:41:57 +00:00
Robert Reif 84e292c614 Fix IDirectSoundBuffer8_Initialize function prototype and use. 2004-07-06 19:27:00 +00:00
Robert Reif 31f817b6f9 Separated DirectSoundCreate8 into two functions and added a
IDirectSound implementation.
Added proper COM behavior for QueryInterface for IDirectSound and
IDirectSound8.
Fixed a bug in the dsound.h header file for IDirectSound8
CreateSoundBuffer and DuplicateSoundBuffer.
Added new tests for proper COM behavior and enables some commented out
code for tests that work on windows.  Added new tests for
IDirectSound8.
2004-07-04 00:13:44 +00:00
Robert Reif dbb03ec6dc Fixes support for older versions of direct sound.
Adds support for deleting notification array.
Minor debug and white space cleanups.
2004-04-19 02:58:45 +00:00
Robert Reif e7310f4461 Added missing #define for DS_INCOMPLETE. 2004-02-27 21:29:10 +00:00
Robert Reif 7dd637467a Added some missing defines and a struct.
Fixed some const * arguments.
2004-01-09 22:06:54 +00:00
Raphael Junqueira 493660a529 - Some fixes on DirectSound init (need SetCooperativeLevel as seen in
msdn) on IDirectMusicPerformance8::InitAudio.
- Some fixes in IDirectMusicPerformance8ImplCreateStandardAudioPath
  (not perfect yet, need to understand/fix the channel init/use).
- Fix typo on CreateDirectMusicContainer.
- Add missing define in dsound.h.
- Better traces on IDirectMusicLoader8::SetSearchDirectory.
2003-10-27 22:08:37 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Robert Reif 76a5e0a29c Added speaker config macros. 2003-08-28 19:38:29 +00:00
Alexandre Julliard 4433f15543 Add strmif.h to the headers included in libuuid.
Fixed a few header conflicts.
2003-07-01 04:33:35 +00:00
Alexandre Julliard aae3cb61cd Simplified COM interface declarations, removing the need to define
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard 55379110c5 Get rid of the ICOM_CALL macros. 2003-04-10 21:13:58 +00:00
Alexandre Julliard f00c46f030 Use a more compatible technique to declare COM interfaces methods,
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Robert Reif acd4bc0d64 Added a few missing DX8 definitions. 2003-04-03 18:02:39 +00:00
Robert Reif 998f56e02e Fixed a FIXME for full duplex. 2003-03-06 22:44:38 +00:00
Robert Reif bc362fd348 Added definitions for DirectSoundFullDuplex and moved some GUIDs
around.
2003-02-24 20:37:50 +00:00
Robert Reif 6041ff301e Added/fixed some definitions for direct sound capture. 2003-02-14 23:57:27 +00:00
Gregg Mattinson cc49e393f2 Removed extra ; from end of ICOM_METHOD macros. 2002-07-03 01:15:14 +00:00
Ove Kaaven 935e3df35c Support DirectSound 8 interfaces. Split interface implementations into
separate files. Split primary buffer and secondary buffer interfaces
into separate implementations. Made the primary buffer state part of
the dsound object, so primary buffer objects can be created and
refcounted independently. Made the interfaces follow COM aggregation
rules more closely. Converted the dsound critical section to a R/W
lock to improve potential remixing concurrency. Fixed various bugs and
refcounting issues.
2002-06-13 19:15:06 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 140e7222e0 Removed more code at Hidenori's request. 2002-05-05 19:40:57 +00:00
Johan Gill 8fc98cdef8 DirectSoundEnumerateA() now passes a GUID to the callback if the first
call returned TRUE.
2002-05-01 18:05:30 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Ove Kaaven c2edee0159 Fixed a typo. 2001-10-21 15:01:43 +00:00
Hidenori Takeshima e575ad292e Implemented IMemAllocator. 2001-09-17 20:04:28 +00:00
Ove Kaaven fdebace998 Fix buffering problems in HEL mode. 2001-09-10 23:08:11 +00:00
Marcus Meissner 9c0ae56d39 Added definitions for IKsPropertySet, small stub implementation for
IDirectSound3DBuffer. Fixed one pointer reference.
2001-06-13 19:36:10 +00:00
Francois Gouget ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Peter Hunnisett f5a1027595 - Added DirectSoundCapture and DirectSoundCaptureBuffer interfaces
- Added some SoundCapture stubs
- Changed REFIID to LPCGUID in a few places as per MS header file
2000-06-01 22:47:35 +00:00
Peter Hunnisett 62f32331dd - Add another way to create a 3d listener interface.
- Fix up some reference counting bugs and interface creation bugs
- Add DirectSoundEnumerateW stub
- Add DirectSoundCaptureEnumerate{A,W} stubs
2000-05-30 20:07:31 +00:00
Peter Hunnisett 0b56446e35 - Added remaining DirectX 3D3 6&7 3D interfaces.
- Added d3dcaps.h, d3dtypes.h and rearranged contents according to
  DirectX 7 headers.
- Fixed dsound.h include list (d3d.h->d3dtypes.h).
2000-05-18 01:26:42 +00:00
Steve Langasek 6d1012b497 Fixed typos in macro definitions for IDirectSoundBuffer_GetStatus,
IDirectSoundBuffer_Unlock.
2000-01-12 04:58:08 +00:00
Francois Gouget be9fd31b92 Define the COM macros even in C++. 1999-10-23 20:09:05 +00:00
Patrik Stridvall 14da7b1c93 Added extern "C" if __cplusplus is defined. 1999-06-12 10:53:06 +00:00
Francois Gouget bed8c26cff ICOMisation of the DirectSound API. 1999-04-11 11:51:48 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Michael Veksler 3fbb8dc829 - Fix headers to include less or smaller header files.
- Fix header and source files to include missing header files to avoid
  warnings and errors.
1999-02-21 18:23:26 +00:00
Francois Gouget b8cfd179d1 Changed the first parameter from LPGUID (Windows headers) to REFGUID.
This makes it a 'const GUID*' which means DirectSoundCreate must not
change it.
1999-02-19 09:58:41 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Rob Riggs 689b9f8993 Fixed duplicate sound buffer handling. Updated status. 1999-01-23 12:19:34 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Marcus Meissner 73458b03cd Changed // comments to /* */ so WINE compiles with non-gcc compilers
again.
1998-12-26 12:54:29 +00:00
Robert Riggs b9950124a1 Fixed 8-bit WAV format handling (it is unsigned data).
Fixed off-by-one checks for buffer wrap.
Increment ref count for primary buffer in CreateSoundBuffer().
Added DSBPN_OFFSETSTOP support to position notification code.
Lots of minor parameter validation checks.
Stubs for: IDirectSound_initialize(), IDirectSound_Compact(),
and IDirectSound_GetSpeakerConfig().
Fixed freq shifting with 16-bit data problem, fixed 8bit<->16bit
conversion.
Lots of thread locking for DirectSound buffers.
Dealloc primary buffer when dsound is deallocated.
1998-12-01 12:57:31 +00:00
Robert Riggs 88bd980951 More flags (DirectX 5.2), DirectSound3DListener and
DirectSound3DBuffer structures, include some required files
(windows.h, compobj.h, and d3d.h).
1998-11-22 15:09:33 +00:00